in reply to Re^3: is precompiling possible / effective?
in thread is precompiling possible / effective?

wouldn't that first $start be called AFTER the compilation, though? (thank you, by the way, for your help!)
  • Comment on Re^4: is precompiling possible / effective?

Replies are listed 'Best First'.
Re^5: is precompiling possible / effective?
by moritz (Cardinal) on Feb 12, 2009 at 23:55 UTC
    No, that's why I put the initialization in a BEGIN block - that means it's run immediately after that block is parsed. (Sure, it misses a small part of the compilation phase, but if you load many modules that part is really small compared to the rest).
      It does miss the time it takes to load perl itself, though. That could be addressed by adding the time taken by perl -e1 to your results.
      oho, thank you so much!