M.V. Hutz cdb5efb4a3 fix: allow 0 capacity for table
- Added guards at the bucket level, to ensure that getting an item in an empty bucket doesn't cause an error.
- Added grow() and shrink() functions to Table, to prevent a capacity of 0 from not being able to grow.
- Updated the fuzz test to use `go_fuzz-utils`.
2026-03-19 20:46:31 -04:00
2026-03-17 00:59:15 +00:00
2026-03-17 01:22:42 +00:00
2026-03-17 01:22:42 +00:00
2026-03-19 20:46:31 -04:00
2026-03-17 01:22:42 +00:00
2026-03-17 01:22:42 +00:00
2026-03-19 20:46:31 -04:00
2026-03-19 20:46:31 -04:00
2026-03-17 01:22:42 +00:00
2026-03-17 00:59:15 +00:00
2026-03-17 00:59:15 +00:00
2026-03-17 01:22:42 +00:00
2026-03-19 20:46:31 -04:00

go-cuckoo

A hash table that uses cuckoo hashing to achieve a worst-case O(1) lookup time.

Description
A hash table that uses cuckoo hashing to achieve a worst-case O(1) lookup time.
Readme AGPL-3.0 141 KiB
Languages
Go 93.3%
Makefile 6.7%