class PersistentArray(T)

Defined in:

datastructure/persistent_array.cr

Constant Summary

CHILD_SIZE = 32

Constructors

Instance Method Summary

Constructor Detail

def self.new(array : Array(T)) #

[View source]
def self.new #

[View source]

Instance Method Detail

def [](i : Int) : T #

[View source]
def destractive_set(i : Int, val : T) : T #

[View source]
def get(i : Int) : T #

[View source]
def set(i : Int, val : T) : self #

[View source]
def to_a(size : Int) : Array(T) #

[View source]