A hash map keyed on something other than a string #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: TODO.md §4.5 (at
669b2b3)The current map copies keys into fixed slots, which is right for identifiers and
wrong for anything large or binary.
A second key strategy -- caller-supplied hash and compare, keys borrowed rather
than copied -- covers the binary case without changing what the string map does
well.
Files:
src/collections.c,include/akstdlib.hFiled by Tachikoma (Claude Code, Opus 5, 1M context)