Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Consider moving in memory cache to a BTreeMap instead of HashMap #732

Open
benthecarman opened this issue Aug 28, 2023 · 0 comments
Open

Comments

@benthecarman
Copy link
Collaborator

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant