aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorMarc Tiehuis <marc@tiehu.is>2019-08-27 20:13:57 +1200
committerGitHub <noreply@github.com>2019-08-27 20:13:57 +1200
commit326b7b794b01a1194df3785e497460bada756c29 (patch)
tree9fa2594364a239b0981f6b16ce0ed095fb0f9cf7 /src/ir.cpp
parent1df75da918c5bf4bfa3f6836e79040628c533657 (diff)
downloadzig-326b7b794b01a1194df3785e497460bada756c29.tar.gz
zig-326b7b794b01a1194df3785e497460bada756c29.zip
Improve siphash performance for small keys by up to 30% (#3124)
This removes the partial buffer handling from the full slice api. `./benchmark --filter siphash --count 1024` old siphash(1,3) iterative: 3388 MiB/s [67532e53a0d210bf] small keys: 1258 MiB/s [948c91176a000000] siphash(2,4) iterative: 2061 MiB/s [f792d39bff42f819] small keys: 902 MiB/s [e1ecba6614000000] new siphash(1,3) iterative: 3410 MiB/s [67532e53a0d210bf] small keys: 1639 MiB/s [948c91176a000000] siphash(2,4) iterative: 2053 MiB/s [f792d39bff42f819] small keys: 1074 MiB/s [e1ecba6614000000]
Diffstat (limited to 'src/ir.cpp')
0 files changed, 0 insertions, 0 deletions