]> git.draconx.ca Git - dxcommon.git/commitdiff
copysym: Merge tables into a single static allocation.
authorNick Bowler <nbowler@draconx.ca>
Wed, 21 Feb 2024 02:20:37 +0000 (21:20 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 23 Feb 2024 01:31:59 +0000 (20:31 -0500)
On x86_64, gcc overaligns static arrays at least 16 bytes long onto
a 16-byte boundary, and arrays at least 32 bytes long on a 32-byte
boundary, which for these tables seems to be totally unnecessary.

Putting both arrays into one structure means that at least within
this one translation unit, we don't pointlessly waste space padding
between the two arrays to maintain unneeded alignment.


No differences found