Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Can shmfs speed up Perl?

by Notromda (Pilgrim)
on Apr 25, 2003 at 15:19 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2022-12-09 02:00 GMT
Find Nodes?
    Voting Booth?

    No recent polls found