Commit 516a8fa4 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

trie: Optimize `keys` function (#11457)

* trie: Optimize `keys` function

Instead of iterating the entire state and collecting all keys that match the given prefix, we can
directly use the optimized prefix iterator.

* Add a test
parent 9dd9a98e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment