Skip to content

v3.3.0

Compare
Choose a tag to compare
@puzpuzpuz puzpuzpuz released this 06 Jul 09:26
· 5 commits to main since this release
55a8a3a
  • Speed up MapOf lookups #134
  • Expose Map/MapOf statistics #133
  • Change license to Apache License 2.0 #135

Introduces meta memory and SWAR-based lookups similar to C++'s absl::flat_hash_map hash table (https://abseil.io/docs/cpp/guides/container). The lookups are now up to 30% faster.

Also, reduces MapOf's memory overhead: each bucket now holds up to 5 entries instead of 3.

Map/MapOf statistics are available via m.Stats(). They may be used for diagnostic purposes.