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
Posting: Copy-On-Write string data-type provides an implementation of mutable strings so that creating and copying them is free performance wise. The object's internal memory is reference counted and shared among it's instances. Thus it only make a copy for a specific instance, when it's data is modified. It is based on nim-lang/RFCs#221. It should improve performance when strings are frequently copied. Passing a string to a thread triggers a deep copy, so it is compatible with multi-threading.
The text was updated successfully, but these errors were encountered:
Name: cowstrings
Author: planetis
Posting: Copy-On-Write string data-type provides an implementation of mutable strings so that creating and copying them is free performance wise. The object's internal memory is reference counted and shared among it's instances. Thus it only make a copy for a specific instance, when it's data is modified. It is based on nim-lang/RFCs#221. It should improve performance when strings are frequently copied. Passing a string to a thread triggers a deep copy, so it is compatible with multi-threading.
The text was updated successfully, but these errors were encountered: