You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
If I need to update a record, I think I need to do a
get
+unwrap_or_default
, modify, and theninsert
? Does it cost me a lookup twice? Would it make sense to have an API likeBTreeMap::entry
?The text was updated successfully, but these errors were encountered: