gemini-2.5-flash-preview-05-20| input-price: 0.15 output-price: 3.5 max-context-length: 128_000 (cost: $0.008) Β· Anfrage: 2025-06-09T08:37:48.643832

Generated by rs-summarizer Version unbekannt

Abstract:

This article details the author's ambitious project, "Hash Prospector," designed to computationally discover superior non-cryptographic integer hash functions. Focusing on 1:1 mapping and reversible operations, the tool iteratively generates, compiles, and evaluates random hash functions based on avalanche effect and low bias. Initial findings led to prospector32, a 32-bit function outperforming many existing ones, and uncovered a common "XOR-right-shift, multiply, XOR-right-shift, multiply, XOR-right-shift" structure in high-performing hashes. Subsequent research and community contributions (notably by TheIronBorn) further refined these designs, yielding 32-bit functions like lowbias32 and triple32 that approach theoretical bias limits, and even more optimized variants with exceptionally low bias scores. The article also discusses challenges with 64-bit hashes, specific operation inversions, and applications in contexts like JavaScript shaders.

Summary:

Summary Rating: No ratings yet
Article Rating: No ratings yet

Source