[tree-ssa PATCH] Pick memory consumption low hanging fruit

Richard Henderson rth@redhat.com
Wed Nov 19 01:01:00 GMT 2003


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~



More information about the Gcc-patches mailing list