Re: Various minor speed-ups

2011-08-22 Thread Richard Guenther
On Mon, Aug 22, 2011 at 9:50 AM, Dimitrios Apostolou wrote: > > 2011-08-22  Dimitrios Apostolou   > >        * tree-ssa-pre.c (phi_trans_add, init_pre, fini_pre): Added a pool >        for phi_translate_table elements to avoid free() calls from >        htab_delete(). Ok if bootstrap and test pas

Re: Various minor speed-ups

2011-08-22 Thread Dimitrios Apostolou
For whoever is concerned about memory usage, I didn't measure a real increase, besides a few KB. These are very hot allocation pools and allocating too many blocks of 10 elements is suboptimal. 2011-08-22 Dimitrios Apostolou * cselib.c (cselib_init): Increased initial size of elt_

Re: Various minor speed-ups

2011-08-22 Thread Dimitrios Apostolou
2011-08-22 Dimitrios Apostolou * tree-ssa-pre.c (phi_trans_add, init_pre, fini_pre): Added a pool for phi_translate_table elements to avoid free() calls from htab_delete(). === modified file 'gcc/tree-ssa-pre.c' --- gcc/tree-ssa-pre.c 2011-05-04 09:04:53 + +++ gc

Various minor speed-ups

2011-08-22 Thread Dimitrios Apostolou
Hello list, the followup patches are a selection of minor changes introduced in various times during my GSOC project. They mostly are simple or not that important to be posted alone, so I'll post them alltogether under this thread. Nevertheless they have been carefully selected from a pool of