3 ms·
So it.. isn't catastrophic for performance? Edit: I'm guessing you're saying they're immutable but not necessarily interned. Ok.
by samatman 5y ago
So it.. isn't catastrophic for performance?
Edit: I'm guessing you're saying they're immutable but not necessarily interned. Ok.
- chrisseaton 5y agoYeah - if all strings are interned that's ok for comparison, but atrocious for string allocation. If not all strings are interned that's better for allocation, but atrocious for string comparison. We already have the best solution... symbols. An alternative set of semantics that work well with our hardware.