0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/hash
UraniaZPM 485b996b61 Make benchmarking use std.Io.Clock.awake for timing (#31553)
In #31086, the `std.time.Timer` struct was removed, but this broke the last few programs that used it, those being the benchmarking programs for `std.Random`, `std.hash`, `std.crypto` and `std.unicode`. One more is `zig/perf_test.zig`, but as far as I can tell, that one is broken due to changes in file import rules too, unless I'm launching it wrong.

I also spotted some performance and benchmarking issues with the RNGs, detailed in #31554.

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31553
Reviewed-by: Andrew Kelley <andrew@ziglang.org>
Co-authored-by: UraniaZPM <uraniazpm@noreply.codeberg.org>
Co-committed-by: UraniaZPM <uraniazpm@noreply.codeberg.org>
History 2026-03-18 21:00:08 +01:00
..
crc Remove numerous things deprecated during the 0.14 release cycle 2025-07-11 08:17:43 +02:00
Adler32.zig simplify std.hash.Adler32 2025-07-31 22:10:11 -07:00
auto_hash.zig all: replace all @Type usages 2025-11-22 22:42:38 +00:00
benchmark.zig Make benchmarking use std.Io.Clock.awake for timing (#31553) 2026-03-18 21:00:08 +01:00
cityhash.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
crc.zig std.hash.crc: simplify api 2024-04-28 21:12:01 +12:00
fnv.zig std/hash: add generic tests for idempotency/iterative api 2023-09-02 15:37:49 +12:00
murmur.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
verify.zig simplify std.hash.Adler32 2025-07-31 22:10:11 -07:00
wyhash.zig std.hash.Wyhash: fix dangling stack pointer 2025-05-16 15:28:20 +02:00
xxhash.zig std.hash.xxhash: disable xxhash3 test on all mips64 targets 2025-08-30 06:36:41 +02:00