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

Re: Not returning scalars(SV) to optimize and save memory?

by gamache (Friar)
on Dec 06, 2007 at 20:16 UTC ( #655490=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use constant FALSE     => 1==0;
    ...
        'implicit FALSE'=>    sub { FALSE         },
        'implicit 1==0'    =>    sub { 1==0             },
    });
    
  2. or download this
                          Rate return FALSE; implicit FALSE return 1==0; i
    +mplicit return; implicit 1==0
    return FALSE;   18281536/s            --           -31%         -54%  
    +   -63%    -80%          -92%
    ...
    implicit        49261084/s          169%            85%          23%  
    +     --    -46%          -77%
    return;         91743119/s          402%           244%         129%  
    +    86%      --          -58%
    implicit 1==0  217391304/s         1089%           715%         443%  
    +   341%    137%            --
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://655490]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2018-04-19 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?