Help for this page

Select Code to Download


  1. or download this
    As an lvalue keys allows you to increase the number 
    of hash buckets allocated for the given hash. This can gain
    you a measure of efficiency if you know the hash is going 
    to get big.
    
  2. or download this
    use Benchmark;
    timethese( 100, {with => q{
                 my %hash;
    ...
                  }
               },
             });
    
  3. or download this
    Benchmark: timing 100 iterations of with, without...
          with: 14 wallclock secs (13.73 usr +  0.04 sys = 13.77 CPU) @  7
    +.26/s (n=100)
       without: 14 wallclock secs (13.86 usr +  0.00 sys = 13.86 CPU) @  7
    +.22/s (n=100)
    
  4. or download this
    1/16384
    2/16384
    ...
    8/16384
    9/16384
    10/16384
    
  5. or download this
    4/8
    5/8
    ...
    13/16
    13/16
    etc...