This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [C++] save space in language_function
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