in reply to Re^2: Making my Perl program a bit faster
in thread Making my Perl program a bit faster

Does that mean you start a Perl program for each key?

If yes: don't. Do them all in one program; that way you avoid the cost of starting up the interpreter a few million times.

  • Comment on Re^3: Making my Perl program a bit faster

Replies are listed 'Best First'.
Re^4: Making my Perl program a bit faster
by mrguy123 (Hermit) on Jul 09, 2009 at 04:59 UTC
    No. I call the "new" function once, and then call another function (e.g. create keys) each time I create a new key.