- Notifications
You must be signed in to change notification settings - Fork1
Copy-On-Write string implementation according tonim-lang/RFCs#221
License
NotificationsYou must be signed in to change notification settings
planetis-m/cowstrings
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Copy-On-Write string data-type provides an implementation of mutable strings sothat creating and copying them is free, performance wise. The object's internalmemory is reference counted and shared among instances. Thus it only make acopy for a specific instance, when it's data is modified. It is based onnim-lang/RFCs#221. It shouldimprove performance when strings are frequently copied. Passing a string to athread triggers a deep copy, so it is compatible with multi-threading.
About
Copy-On-Write string implementation according tonim-lang/RFCs#221
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published