Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: {Perl6} Macros and native compilation

by emazep (Priest)
on Apr 12, 2005 at 13:50 UTC ( #446991=note: print w/replies, xml ) Need Help??

in reply to Re^2: {Perl6} Macros and native compilation
in thread {Perl6} Macros and native compilation

What I use is PAR, but it creates large executables (3 MB and north) and often induces a runtime penalty (even if it's only on startup - some apps are so small that a 20 second delay is unbearable)

Such long PAR startup penalty only occurs the very first time you run a (PARred) program (unless you have used the -C or --clean switch when creating the package), because PAR must extract all the files it needs to run your program, including perl itself, the modules used by your program and anything else you've packaged (the files are extracted into your system temporary directory).
The next time you run your program, it starts up much faster (provided that these cached files have not been deleted of course), since PAR first looks for these previously cached files, and if it finds them it cleverly avoids to extract them again.


  • Comment on Re^3: {Perl6} Macros and native compilation

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://446991]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2021-09-16 20:01 GMT
Find Nodes?
    Voting Booth?

    No recent polls found