Crate ndata

Source
Expand description

githubcrates-iodocs-rs


This crate provides a a self-owned data structure with an internal heap and garbage collection.

NData supports objects, arrays, strings, integers, floats, booleans, byte buffers, and null. DataObject, DataArray, and DataBytes instances maintain reference counts. Garbage collection is performed manually by calling the type’s gc() function.

Modules§

data
dataarray
databytes
dataobject
heap
json_util
sharedmutex
usizemap

Structs§

NDataConfig

Functions§

gc
Perform garbage collection. Instances will not be removed from the heap until NData::gc() is called.
init
Initialize global storage of data. Call only once at startup.
mirror
Mirror global storage of data from another process. Call only once at startup.
print_heap
Prints the objects currently stored in the heap