Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-08-24 11:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (367 votes). Check out past polls.

    Notices?