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] Improve memory characteristics of VDEFs


On Fri, 2003-11-21 at 15:23, law@redhat.com wrote:

> This is quite a bit more efficient in terms of memory utilization and GC
> tracking and prodes a nice little speedup on PR8361, will a very small
> positive impact on the more general cc1 components test.
> 
Cool.


> for (i = 0; i < VARRAY_ACTIVE_SIZE (vdefs) / 2; i++)
>   {
>     result = VARRAY_RESULT (vdefs, i);
>     source = VARRAY_OP (vdefs, i);
>   }
> 
s/VARRAY_/VDEF_/, right?

Also, it'd be nice to have something like NUM_VDEFS() to encapsulate
'VARRAY_ACTIVE_SIZE (vdefs) / 2'.


Diego.


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