Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

why the perl complied code takes more memory?

by arunstunner (Initiate)
on Mar 02, 2013 at 05:08 UTC ( #1021384=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    use strict ;
    ...
    $i++ ;
    sleep(1);
    }
    
  2. or download this
    perlcc -o compiled while.pl
    
  3. or download this
    ps axo %cpu,%mem,command | grep "while\|compiled"
    
    0.0  0.0 /usr/bin/perl ./while.pl
    0.0  0.1 ./compiled
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2014-08-29 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls