[PATCH] [C++] save space in language_function
Jason Merrill
jason@redhat.com
Mon Jan 5 21:19:00 GMT 2004
On 05 Jan 2004 21:15:03 +0100, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:
> When I was working on compile-time improvement for Apple, I tried many
> different versions of patches that reduce memory consumption by using
> bitfields. In fact, as ever, it was not obvious that one gets that huge
> -memory- saving (that is why it would be good to send numbers as
> reported by say -fmemory-report). The issue is a time-space
> optimization. If you use a bitfield, some acrhitectures might need
> more instruction to extract or store information there. So you might
> end up with a speed slowdown. So you will also need to send report on
> speed (say by -ftime-report).
Indeed. I won't approve any of these without such measurements.
Jason
More information about the Gcc-patches
mailing list