From: Mike S. <m...@pe...> - 2005-09-20 16:36:08
|
On Tue, 20 Sep 2005, David Britton wrote: > All that was on my small test program that simply initialized. If I > look at the real world, it is between 11-20% of the initialization time > of my scripts was spent in this function, depending on the script. That > was anywhere from .1 to .3 seconds wasted during every program run, > depending on the speed of the system. Also, as the complexity of my log > config grows the number will only increase. > > That improvement isn't "earth-shattering" but every little bit counts > when talking about oft used command-line programs. :) Interesting, if you're running single programs like this a lot, it might as well be worth looking into a persistent environment like pperl, which would get rid of the startup penalty entirely. Anyways, good deal, thanks again! -- Mike Mike Schilli m...@pe... |