Help for this page

Select Code to Download


  1. or download this
    Benchmark: running inlineArrayLookup, preBuiltArrayLookup, strftimeLoo
    +kup, substrLookup, each for at least 2 CPU seconds...
    inlineArrayLookup:  2 wallclock secs ( 2.12 usr + -0.01 sys =  2.11 CP
    +U) @ 543540.28/s (n=1146870)
    ...
    substrLookup        465374/s           115%           --              
    +-14%                -21%
    inlineArrayLookup   543540/s           151%          17%              
    +  --                 -8%
    preBuiltArrayLookup 588310/s           172%          26%              
    +  8%                  --
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
                 'strftimeLookup'   => \&strftimeLookup,
             }
         );