Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    bench( "   db", \&db_hash    );
    bench( "  sql", \&sql_hash   );
    
  2. or download this
    $ perl test.pl
    plain duration : 0.639 secs
    ...
      sql duration : 184.338 secs
      sql lookups  : 35532 / sec