套件:golang-github-benbjohnson-immutable-dev(0.2.0-2)
golang-github-benbjohnson-immutable-dev 的相關連結
Debian 的資源:
下載原始碼套件 golang-github-benbjohnson-immutable:
- [golang-github-benbjohnson-immutable_0.2.0-2.dsc]
- [golang-github-benbjohnson-immutable_0.2.0.orig.tar.gz]
- [golang-github-benbjohnson-immutable_0.2.0-2.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
Immutable collections for Go (library)
This library contains immutable collection types for Go. It includes List, Map, and SortedMap implementations. Immutable collections can provide efficient, lock free sharing of data by requiring that edits to the collections return new collections.
The collection types in this library are meant to mimic Go built-in collections such asslice and map. The primary usage difference between Go collections and immutable collections is that immutable collections always return a new collection on mutation so you will need to save the new reference.
Immutable collections are not for every situation, however, as they can incur additional CPU and memory overhead. Please evaluate the cost/benefit for your particular project.