mutiny-node icon indicating copy to clipboard operation
mutiny-node copied to clipboard

Consider moving in memory cache to a `BTreeMap` instead of `HashMap`

Open benthecarman opened this issue 1 year ago • 0 comments

Right now we use a HashMap for our in memory storage. It may be more efficient to change to a BTreeMap, this way things like scan_prefix are much more efficient. However it has the tradeoff of being O(log(n)) for insertions, we would probably want to bench mark it which may be hard.

benthecarman avatar Aug 28 '23 22:08 benthecarman