Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Nested evals - are they evil? (sample benchmarks)

by cLive ;-) (Parson)
on Jul 31, 2007 at 04:49 UTC ( #629735=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
            $x+=1;
        }
    }
    
  2. or download this
             Rate   eval noeval
    eval   1495/s     --   -62%
    noeval 3953/s   164%     --
    
  3. or download this
    use strict;
    use warnings;
    use Benchmark 'cmpthese';
    ...
            }
        }
    }
    
  4. or download this
               Rate   eval noeval
    eval    67797/s     --   -39%
    noeval 111111/s    64%     --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-07-10 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (197 votes), past polls