This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
- From: law at redhat dot com
- To: Richard Henderson <rth at redhat dot com>
- Cc: Daniel Berlin <dberlin at dberlin dot org>, Dan Nicolaescu <dann at ics dot uci dot edu>, Andrew MacLeod <amacleod at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 18 Nov 2003 18:19:11 -0700
- Subject: Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
- Reply-to: law at redhat dot com
In message <20031119005413.GB27098@redhat.com>, Richard Henderson writes:
>On Tue, Nov 18, 2003 at 04:47:45PM -0700, law@redhat.com wrote:
>> It's probably not the core issue, but did everyone know that each
>> varray element is 8 bytes? Yup. Using two varrays for the
>> const_equiv data in integrate.c and unroll.c would cut the per-element
>> overhead of a varray in half.
>
>Why do you believe this? The varray struct is sized non-trivially.
>See
>
>static const struct {
> unsigned char size;
> bool uses_ggc;
>} element[NUM_VARRAY_DATA] = {
> ...
>};
Ah nuts. That's what I get for looking at the sizeof varray_data.
Jeff