Skip to content

Releases: jangala-dev/lua-trie

v0.3

15 Jan 23:24

Choose a tag to compare

each(query, visit_all) now calls visit_all(key, value)

v0.2

11 Jan 21:45

Choose a tag to compare

Full Changelog: v0.1...v0.2

v0.1: feat: Refactor and enhance Trie implementation and tooling (#1)

09 Jan 22:53
77dcbac

Choose a tag to compare

- Refactored trie.lua for improved flexibility:
  - Introduced customizable tokenisation/detokenisation for string, table, and custom key types.
  - Added robust token validation ensuring tokens are strings or numbers.
  - Enhanced wildcard matching with dedicated prefix and exact match iterators using coroutines.
- Updated readme.md to document the new API and usage examples.
- Revised test.lua and bench.lua to cover new functionality and performance improvements.

This update significantly improves the module's usability, extensibility, and maintainability.