Skip to content
Sections
>> Trisquel >> パッケージ >> ecne (12.0LTS) >> ruby >> ruby-immutable-ruby
[  ecne  ] [  xolotl  ]
[ ソース: ruby-immutable-ruby  ]

パッケージ: ruby-immutable-ruby (0.1.0-2)

efficient, immutable, thread-safe collection classes for Ruby

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.

その他の ruby-immutable-ruby 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: ruby-concurrent (>= 1.1)
    Modern concurrency tools for Ruby
  • dep: ruby-sorted-set (>= 1.0)
    variant of Set with elements sorted in ascending order

ruby-immutable-ruby のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 46.0 kB256 kB [ファイル一覧]