http://www.perlmonks.org?node_id=253176

zentara has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I know about PersistentPerl, but I was thinking about more straightforward ways of speeding up Perl loading. Ram is cheap now, so why not use it? I tried to copy my /usr/bin/perl binary to /dev/shm/perl, and changed the shebang line to #!/dev/shm/perl. Things ran OK, but I can't tell if it made any speed difference at all. So what do the experts think about this? Would you need to put all the libs in /dev/shm too? Would it be a useful technique, or is there some downside?