skeeto / hash-prospector

Automated integer hash function discovery
The Unlicense
672 stars 27 forks source link

Generic version for 32/64 bit hash prospector. #8

Closed gzm55 closed 3 years ago

gzm55 commented 3 years ago

if do not use jit, the 32/64 bit prospector may be more easy to maintain.

skeeto commented 3 years ago

That's true, and a portable version would be structured like hp16.c with its dynamic switch dispatch (with added performance costs). However, the value of this project is its outputs rather than the code itself, so maintainability is a low priority. Note: the hillclimb tool does not JIT, and I've taken advantage of this to run it for long periods on a Raspi.

Until the Apple M1 just a few months ago, portability was not really an issue since anywhere you'd want to run this was already x86 and so supported by the JIT (even on Windows via WSL).