|
|
|
|
|
by hasanyildiz
340 days ago
|
|
That's a really good point and honestly a very reasonable feature for a minimal store.
TinyKV stores keys in a HashMap internally, so it doesn't currently support lexicographic ordering or prefix scanning efficiently.
But you're absolutely right if we switched to a BTreeMap (or exposed one as an option), prefix queries could be both fast and natural.
I'll add this to the roadmap. Would you mind opening a GitHub issue with your specific use case? |
|