Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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.

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp