Open sjakobi opened 2 years ago
With the benchmarks I'm getting a lot of noise and a rather reliable 2-3% speedup in HashMap.insert-dup.ByteString
.
The last time I experimented with this idea, the performance was worse, but maybe things have changed. Or maybe there are differences between HashMap
and Map
that explain the difference.
FWIW, I think those old experiments used unboxed tuples with Int#
tags rather than the (then bleeding edge) unboxed sums, but I don't know why that would make a difference, considering the way GHC implements unboxed sums.
…instead of pervasive
ptrEq
.