Help for this page

Select Code to Download


  1. or download this
    $HASH_LIMIT = 1024;
    
    ...
    for $k (qw( testing the hash function )) {
        printf ("%10s - %s\n", $k, &myhash($k));
    }
    
  2. or download this
    @MY_HASH = (0) x $HASH_LIMIT;
    
    ...
    
        return ($MY_HASH[ &myhash($key) ]);
    }