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
Can we accept a reference to the source string in Language::parse() instead of owning it? using shared memory?
Is it worth it to avoid the copies in case of large strings?
Outgoing
Many API calls currently involve cloning and returning an Rc<T> needlessly, rather than returning &T. We should review and convert them where needed.
Incoming
Can we accept a reference to the source string in
Language::parse()
instead of owning it? using shared memory?Is it worth it to avoid the copies in case of large strings?
Outgoing
Many API calls currently involve cloning and returning an
Rc<T>
needlessly, rather than returning&T
. We should review and convert them where needed.The text was updated successfully, but these errors were encountered: