Add an LfHashMap cursor #7
Loading…
Reference in a new issue
No description provided.
Delete branch "fputs/hashmap-cursor"
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?
Adds
LfHashMapCursor. The walk yields each live pair once and skips empty and tombstone slots. Order is unspecified. A stored NULL value is a hit. Exhaustion and invalid arguments leave*keyand*valueunchanged.insert,remove,replace,clear, anddestroyinvalidate the cursor. The implementation does not detect use after that. Hash policy and the existing mutators are unchanged.Tested with
-DCMAKE_BUILD_TYPE=Debug -DFLINT_SANITIZE=ON -DCMAKE_C_EXTENSIONS=OFF.ctest --label-exclude slow: 25/25 passed.