This is the code used to compute the data used in the final table of Hash Design and Goodhart's Law. Please see that article for context.
Note that this only runs on x86-64 due to use of x86-64 intrinsics in some of the code.
To build, first ensure that you have Rust installed. Then from the root of this repo:
cargo build --release
To run:
cargo run --release
Some of the tests can take a little while to run.