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: Richard Henderson <rth at redhat dot com>
- To: law 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 16:54:13 -0800
- Subject: Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
- References: <Pine.LNX.4.56.0311181155430.10915@dberlin.org> <200311182347.hAINljrM003508@speedy.slc.redhat.com>
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] = {
...
};
r~