Minor optimization we can do is to use the store::LookupMap since collections will more than likely be deprecated in the future. near-sdk currently requires the legacy feature which isn't a big deal for now, but can be an issue later if it was removed from the sdk
Minor optimization we can do is to use the
store::LookupMap
sincecollections
will more than likely be deprecated in the future.near-sdk
currently requires thelegacy
feature which isn't a big deal for now, but can be an issue later if it was removed from the sdk