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

Package: 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.

Download golang-github-benbjohnson-immutable-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 21.8 kB139 kB [list of files]