This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] rearrange struct value to save memory


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]