News for hackers. Stuff that matters.
Re:A Simple Hash for Perlin Noise by ot on Tuesday May 10, 2022 @11:01PM (#31335400)
For integer-size keys, a simple integer mixer will perform better than anything.
Re:A Simple Hash for Perlin Noise by johndough on Wednesday May 11, 2022 @12:56AM (#31335977)
What is an integer mixer?
Re:A Simple Hash for Perlin Noise by ot on Wednesday May 11, 2022 @01:23AM (#31336106)
A function that mixes the bits of an integer, it's a major component in all modern hash functions (they read a few bytes from the input, add them to the state, mix the state, and continue).

See for example http://jonkagstrom.com/bit-mixer-construction/index.html

When the input is an integer, they're very good hash functions on their own.