Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2021-01-18 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?