Skip to content

Releases: galactixx/comphash

v0.3.0

24 Jun 18:11

Choose a tag to compare

🚀 comphash v0.3.0 — Build Configuration

Release Date: 2025-06-24

📝 What’s Changed

  • build.zig now registers the comphash module and builds it as a static library
  • Enables const comphash = @import("comphash"); in downstream code

v0.2.0

24 Jun 03:36

Choose a tag to compare

🚀 comphash v0.2.0 — Documentation Update

Release Date: 2025-06-23

📝 What’s Changed

  • README.md bumped to v0.2.0
  • Added inline comments across the codebase
  • Improved and expanded documentation for public APIs

No functional changes — just clearer docs!

v1.0.1 – Initial Release

24 Jun 03:34
d3b69e6

Choose a tag to compare

🎉 comphash v0.1.0 — Initial Release

comphash is a zero-cost, compile-time hash map for immutable, O(1) string-keyed lookups in Zig—no runtime allocations, no deps.

✨ Features

  • O(1) lookups for known-at-compile-time keys
  • Pluggable hash fn (default: xxHash64 via zighash)
  • Collision probers: Linear, DoubleHash, Bidirectional, Triangular
  • Lazy, allocation-free iterators: keys(), values(), items()
  • Pure Zig: no libc or external libraries
  • Comprehensive tests in std.testing