Closed
Description
We almost never want it, and when we do, we're going to want to replace it with a custom interned string type rather than some GC type. We do a lot of pointless copies right now because we get ~str
from almost everything and we constantly do str.to_managed()
.
For now, convert to &str
where we can, but replace every use of str.to_managed()
with ~str
and mark with a comment like /* should be interned */
.