redb icon indicating copy to clipboard operation
redb copied to clipboard

`BTreeMap::entry` API?

Open dpc opened this issue 11 months ago • 3 comments

If I need to update a record, I think I need to do a get + unwrap_or_default, modify, and then insert? Does it cost me a lookup twice? Would it make sense to have an API like BTreeMap::entry?

dpc avatar Jan 31 '25 03:01 dpc