Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.21 KB

TODO.md

File metadata and controls

30 lines (26 loc) · 1.21 KB

Benchmarking

Profiling

Find optimization possibilites

  • Memory usage looks too high. Find if something leaks references and cannot be garbage collected.
  • Initial creation is expected to take most time. The trie optimizes for retrieval. But if there are low hanging fruits left they could be picked up.
  • Lookup time is dominated by gathering the terminals especially in nodes high up in the trie. To some extend expected and unavoidable, still any possible optimizations there are highly desired. Additionally, a limit search could be introduced to stop gathering after x terminals.

Testing and Verification

Tests and correctness verification is currently glaringly lacking. Any improvements there are highly desired.

Future Extensions

  • A unicode layer on top of bytetrie for simpler handling of string keys
  • Key deletion
  • Make insertion multi-threaded