ruby-immutable-ruby

efficient, immutable, thread-safe collection classes for Ruby

Description

The immutable-ruby gem provides 6 Persistent Data Structures: Hash, Vector, Set, SortedSet, List, and Deque (which works as an immutable queue or stack).

Whenever you "modify" an Immutable collection, the original is preserved and a modified copy is returned. This makes them inherently thread-safe and shareable. At the same time, they remain CPU and memory-efficient by sharing between copies.

Immutable was forked from Simon Harris' Hamster library (ruby-hamster package), which is no longer maintained. It features some bug fixes and performance optimizations which are not included in Hamster. Aside from the name of the top-level module, the public API is virtually identical.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/immutable-ruby/immutable-ruby


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-immutable-ruby