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
{{ message }}
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
Currently we do an egregious amount of cloning of String names, like in Lam/Slf/All/Let binders, Vars and Refs. But the thing about names is that they are immutable, once we parse we should never need to change them. So a datatype like
struct Name(Rc<str>)
might significantly improve performance here. Doesn't have to be exactly Rc<str>, but that's probably a good place to start investigating.
Currently we do an egregious amount of cloning of
String
names, like inLam/Slf/All/Let
binders, Vars and Refs. But the thing about names is that they are immutable, once we parse we should never need to change them. So a datatype likemight significantly improve performance here. Doesn't have to be exactly
Rc<str>
, but that's probably a good place to start investigating.Also relevant to argumentcomputer/yatima#38 since I believe
String
isn't insp_std
The text was updated successfully, but these errors were encountered: