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
The migration from near_sdk::collections to near_sdk::store introduced new clones in the AccessControllable plugin. Some of them can be avoided by changing the signatures of internal functions.
The text was updated successfully, but these errors were encountered:
As pointed out in this comment, more optimisations might be possible by changing signatures of AccessControllable trait methods. As of now, they are frequently using owned types instead of references.
mooori
changed the title
Change signatures of internal functions to avoid clones
Avoid clones in AccessControllableDec 7, 2022
The migration from
near_sdk::collections
tonear_sdk::store
introduced new clones in theAccessControllable
plugin. Some of them can be avoided by changing the signatures of internal functions.The text was updated successfully, but these errors were encountered: