Comment by loeg
3 months ago
I don’t think there is a way to do this generally without GC, and that leads to significant pitfalls anyway (eg in Java you can accidentally end up holding multi-GB strings in memory because a few references to short substrings exist).
No comments yet
Contribute on Hacker News ↗