utils/tune-hash.js
function main() {
    if (verbose) { console.log("Finding primes to " + UPPER); }
    var primes = getPrimes(UPPER);
    if (verbose) { console.log("Done."); }
    
    var bestSize = varySize(LOWER, UPPER, 5381, 33, primes);
    var bestSeed = varySeed(0, 8192, bestSize, 33);
    var bestMult = varyMultiplier(2, 256, bestSize, bestSeed);
    bestSize = varySize(LOWER, UPPER, bestSeed, bestMult, primes);
}
function main() {
    if (verbose) { console.log("Finding primes to " + UPPER); }
    var primes = getPrimes(UPPER);
    if (verbose) { console.log("Done."); }
    
    var bestSize = varySize(LOWER, UPPER, 5381, 33, primes);
    var bestSeed = varySeed(0, 8192, bestSize, 33);
    var bestMult = varyMultiplier(2, 256, bestSize, bestSeed);
    bestSize = varySize(LOWER, UPPER, bestSeed, bestMult, primes);
}
function main ( ) { if ( verbose ) { console . log ( "Finding primes to " + UPPER ) ; } var primes = getPrimes ( UPPER ) ; if ( verbose ) { console . log ( "Done." ) ; } var bestSize = varySize ( LOWER , UPPER , 5381 , 33 , primes ) ; var bestSeed = varySeed ( 0 , 8192 , bestSize , 33 ) ; var bestMult = varyMultiplier ( 2 , 256 , bestSize , bestSeed ) ; bestSize = varySize ( LOWER , UPPER , bestSeed , bestMult , primes ) ; }
tune-hash table main function.
tune - hash table main function .