Daniel Lemire's blog

, 2 min read

Optimizing polynomial hash functions (Java vs. Swift)

4 thoughts on “Optimizing polynomial hash functions (Java vs. Swift)”

  1. > Swift crashes on signed overflows

    This is accurate but slightly misleading – Swift traps on all integer overflows/underflows regardless of the signedness of the type.

  2. This helps. Thanks!

  3. Hi Daniel – I moved my site and it wasn’t possible to set up hard redirects. For reference: the post you linked to about the Java benchmarks is now at http://richardstartin.uk/still-true-in-java-9-handwritten-hash-codes-are-faster/

    1. I updated the link.