aboutsummaryrefslogtreecommitdiff
path: root/lib/docs
diff options
context:
space:
mode:
authorDominic <4678790+dweiller@users.noreply.github.com>2023-07-25 03:47:45 +1000
committerGitHub <noreply@github.com>2023-07-24 13:47:45 -0400
commit559150e8440d288adfaeb84c8bc3ec400605287d (patch)
treecd786a3360a780067c1f12d9ec84beca49f087b7 /lib/docs
parentd82b35901035a325ca7afd38b28ff2386f90ae84 (diff)
downloadzig-559150e8440d288adfaeb84c8bc3ec400605287d.tar.gz
zig-559150e8440d288adfaeb84c8bc3ec400605287d.zip
Xxhash perf (#15947)
Improvements for xxHash performance, both on small keys as well as large slices. * std.hash: make benchmarks consistent for xxhash There is some odd behaviour in the timings for the XXHash benchmarks introduced in 879f0b9, specifically the changes to the allocation in benchmarkHash. The problem is somewhere in the difference between 9628243 and 9362d61 (these are commit that were force-pushed over but can be found in PR #15917). * std.hash: correctly calculate throughput in benchmark * std.hash: add hashes per sec to small key output * std.hash: add exact and small xxhash routines * std.hash: add --small-only flag to benchmark * std.hash.xxhash: extract stateless Accumulator type * std.hash.xxhash: cleanup hash() and improve small key perf * std.hash.xxhash: port xxhash64 changes to xxhash32 * std.hash: change benchmark --small-only flag to --include-array
Diffstat (limited to 'lib/docs')
0 files changed, 0 insertions, 0 deletions