Skip to main content

Crate ruvector_temporal_tensor_wasm

Crate ruvector_temporal_tensor_wasm 

Source
Expand description

WASM bindings for temporal tensor compression.

Re-exports the FFI interface from ruvector-temporal-tensor for wasm32 targets.

Functionsยง

ttc_alloc
Allocate a buffer in WASM linear memory.
ttc_create
Create a new compressor. Returns handle via out_handle.
ttc_create_with_policy
Create a compressor with custom policy parameters.
ttc_dealloc
Free a buffer previously allocated with ttc_alloc.
ttc_decode_segment
Decode a segment into f32 values.
ttc_flush
Flush the current segment.
ttc_free
Free a compressor.
ttc_push_frame
Push a frame. If a segment boundary is crossed, the completed segment is written to out_ptr/out_cap, and out_written is set to the byte count.
ttc_set_access
Set access stats directly.
ttc_touch
Record an access event.