Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 chilling in the Monastery: (8)
As of 2015-07-08 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls