heap_linear_array

Crates.ioheap_linear_array
lib.rsheap_linear_array
version0.1.0
created_at2026-01-18 17:43:10.803339+00
updated_at2026-01-18 17:43:10.803339+00
descriptionSimple linear memory array stored on the heap with a size determined at runtime.
homepage
repository
max_upload_size
id2052733
size4,448
(WebAppEnjoyer)

documentation

README

Example

//creation
let mut alpha: HeapArray<u64> = HeapArray::new(500);

//immutable acess (this is possible to do without setting alpha[0] because the structure is zero-initialized)
let beta:u64 = alpha[0];

//mutable acess
alpha[1] = 42;

//lenght
let delta:u64 = alpha.len();
Commit count: 0

cargo fmt