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


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


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