TunkShif / tiny-hash-zig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hash data structure implemented in Zig, adapted from Hash Tables - Crafting Interpreters.

Usage

var map = TinyHash(u8).init(allocator);
defer map.deinit();

_ = try map.put("foo", 233);
_ = map.get("foo") orelse 0;
_ = try map.delete("foo");

TODO

  • [] Write test cases
  • [] Zig module support

Implementation Details

TODO

About

License:MIT License


Languages

Language:Zig 100.0%