0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
Dominic 559150e844
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
History 2023-07-24 13:47:45 -04:00
..
compiler_rt Use builtin inference over @as where possible 2023-07-24 10:23:51 -07:00
docs autodoc: Fix an issue with aliased functions (#16421) 2023-07-22 16:36:26 +02:00
include update C headers to LLVM 16.0.0 2023-03-18 16:01:09 -07:00
init-exe std.Build: use Step.* instead of *Step 2023-05-03 20:55:29 -07:00
init-lib init-exe/init-lib template: fix use of install() and run() 2023-04-10 18:35:14 -07:00
libc musl: update libc.S to v1.2.4 2023-06-20 12:55:38 -04:00
libcxx update libcxx to LLVM 16.0.1 2023-04-05 23:22:29 -07:00
libcxxabi update libcxxabi to llvm 16 2023-01-26 16:36:13 -07:00
libunwind update libunwind to llvm 16 2023-01-26 16:36:14 -07:00
std Xxhash perf (#15947) 2023-07-24 13:47:45 -04:00
tsan update libcxx, libcxxabi, libunwind, and tsan to llvm 13 rc1 2021-08-16 23:32:13 -07:00
build_runner.zig rename ZIG_DEBUG_COLOR env variable to YES_COLOR 2023-06-22 10:29:45 +10:00
c.zig std.cstr: deprecate namespace 2023-06-25 14:51:03 -07:00
compiler_rt.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00
ssp.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
test_runner.zig llvm: compute data layout without help like a grownup compiler 2023-07-19 23:38:40 -04:00
zig.h bootstrap: support aarch64 in 32-bit mode 2023-07-04 15:47:07 -07:00