This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]