Whiteknight / ParserObjects

C# library for parser combinators
https://whiteknight.github.io/ParserObjects
Apache License 2.0
6 stars 0 forks source link

Trie with common prefix #211

Open Whiteknight opened 3 months ago

Whiteknight commented 3 months ago

If all the keys in a trie have a common prefix, we should be able to separate a Match(prefix) and Trie(suffix) to allow faster bailout if the prefix isn't satisfied.

It's not clear if this is an optimization or just a waste of time.