mirror of
https://github.com/ziglang/zig.git
synced 2025-12-23 14:43:17 +00:00
Empty buckets have their `alloc_cursor` set to `slot_count` to allow the size class to be calculated later. This happens deep within the free function. This adds a helper and a test to verify that the size class of empty buckets is indeed recoverable.