Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> devel >> golang-github-benbjohnson-immutable-dev
aramo  ]

套件: golang-github-benbjohnson-immutable-dev (0.2.0-2)

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.

下載 golang-github-benbjohnson-immutable-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 21.8 kB139 kB [文件列表]