Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: '%hash = ()' is slower than 'undef %hash'

by ikegami (Pope)
on May 19, 2018 at 01:04 UTC ( #1214889=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl a.pl
              Rate test2 test1
    ...
              Rate test2 test1
    test2 224170/s    --   -8%
    test1 243265/s    9%    --
    
  2. or download this
    $ perl a.pl
              Rate test2 test1
    ...
              Rate test2 test1
    test2 195321/s    --   -4%
    test1 203538/s    4%    --
    
  3. or download this
    use strict;
    use warnings;
    ...
       test1 => \&test1,
       test2 => \&test2,
    });
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2019-06-26 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (109 votes). Check out past polls.

    Notices?