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

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).
  • Comment on Re^5: is precompiling possible / effective?

Replies are listed 'Best First'.
Re^6: is precompiling possible / effective?
by ikegami (Patriarch) on Feb 13, 2009 at 19:12 UTC
    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.
Re^6: is precompiling possible / effective?
by MashMashy (Sexton) on Feb 13, 2009 at 00:09 UTC
    oho, thank you so much!