Help for this page

Select Code to Download


  1. or download this
    ...
    Benchmark::cmpthese( 1, {
    ...
    hashLookup           1000000000000000/s                   0%          
    +        0%         --          0%
    arrayLookup          1000000000000000/s                   0%          
    +        0%         0%          --
    
  2. or download this
    c:\test>junk3
    107 : 201            (warning: too few iterations for a reliable count
    +)
    ...
    hashLookup           1000000000000000/s                   0%          
    +        0%         --          0%
    arrayLookup          1000000000000000/s                   0%          
    +        0%         0%          --
    
  3. or download this
    c:\test>junk3
                           Rate shuffled_hashLookup hashLookup arrayLookup
    + shuffled_arrayLookup
    ...
    hashLookup           2113/s                  0%         --         -3%
    +                  -5%
    arrayLookup          2181/s                  3%         3%          --
    +                  -2%
    shuffled_arrayLookup 2233/s                  6%         6%          2%
    +                   --