16 Mar
2008
16 Mar
'08
5:22 p.m.
On Sun, Mar 16, 2008 at 10:47:07AM -0400, Jorge Arellano Cid wrote:
On Thu, Mar 13, 2008 at 09:01:37PM +0100, Johannes Hofmann wrote:
Hi,
here is another patch that avoids some malloc/free calls.
I decided to completely remove tag_name, and to use Tags[tag_idx]. Please check the patch in CVS.
Cool. That's even better.
BTW, with regard to these optimizations (which I was very fond of), profiling showed me that the zen of speed is to attack the main bottleneck...
Can you build a statically linked binary with profiling enabled? Here it does not work for some reason, so the timings in the gprof output are bogus. Only the counters work reliably. Cheers, Johannes