[PATCH] rearrange struct value to save memory
Tom Tromey
tromey@redhat.com
Thu Jan 16 21:54:00 GMT 2014
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> This patch rearranges struct value a tiny bit, moving the "regnum"
Tom> field into a hole. This saves 8 bytes per value on a 64-bit machine,
Tom> and 4 bytes per value on a 32 bit machine. I think it does not
Tom> negatively affect readability or performance.
Tom> Built and regtested on x86-64 Fedora 18.
I'm checking this in now.
Tom
More information about the Gdb-patches
mailing list