Skip to content

Releases: jangala-dev/lua-trie

v0.3

Choose a tag to compare

@lePereT lePereT released this 15 Jan 23:24

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

v0.2

Choose a tag to compare

@lePereT lePereT released this 11 Jan 21:45

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

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

Choose a tag to compare

@lePereT lePereT released this 09 Jan 22:53
77dcbac
- 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.