Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
johncolanduoni
6 months ago
|
parent
|
context
|
favorite
| on:
Ruby 3.4 frozen string literals: What Rails develo...
If the strings are backed by reference counted buffers, you can use copy-on-write semantics to provide the API of a mutable string but share buffers when a string is copied. Most C++ standard libraries actually did this prior to the multicore era.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: