Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Can shmfs speed up Perl?

by Notromda (Pilgrim)
on Apr 25, 2003 at 15:19 UTC ( [id://253185]=note: print w/replies, xml ) Need Help??


in reply to Can shmfs speed up Perl?

The "slow" startup is related to the fact that perl has to compile your script into a parse tree or "bytecode" (Yes, fellow monks, I read the recent discussions about the B:: modules). If you are running on a command line, I don't think there's much you can do about it.

OTOH, if you are running in a web environment, mod_perl can greatly speed up the load time. If you are calling a perl script over and over, you could rethink the way you are doing things and make the perl program a continuous program, and feed the data in via named pipe or something.

Is there a specific problem you are running into?

Replies are listed 'Best First'.
Re: Re: Can shmfs speed up Perl?
by Elian (Parson) on Apr 27, 2003 at 00:44 UTC
    "parse tree" ne "bytecode".

    Definitely not the same thing. (Not too surprising, as they're essentially mutually exclusive)

      Right, that's why I put that disclaimer in there. People have been calling the parse tree "bytecode" because of the B::* modules. But as has been said elsewhere, the B doesn't stand for bytecode. :P

      Which reminds me, I really should play with those a little bit.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-19 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found