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
Most of the types in atrium_api use owned types. This means data remains the same but gets copied many times, and causes many allocations. What are your thoughts on converting strings to something like Cow<'a, str> (preferably) or Arc<str> instead of Strings everywhere?
This issue is probably more relevant to users that consume the firehose.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Most of the types in
atrium_apiuse owned types. This means data remains the same but gets copied many times, and causes many allocations. What are your thoughts on converting strings to something likeCow<'a, str>(preferably) orArc<str>instead ofStrings everywhere?This issue is probably more relevant to users that consume the firehose.
Beta Was this translation helpful? Give feedback.
All reactions