alla flaggor
bullseye  ] [  sid  ]
[ Källkod: golang-github-benbjohnson-immutable  ]

Paket: golang-github-benbjohnson-immutable-dev (0.2.0-2)

Länkar för golang-github-benbjohnson-immutable-dev



Hämta källkodspaketet golang-github-benbjohnson-immutable:


Externa resurser:

Liknande paket:

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.

Hämta golang-github-benbjohnson-immutable-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 21,8 kbyte139,0 kbyte [filförteckning]