Array Object
ArrayObject is a self-describing binary format for arrays of integers, floating-point numbers, complex numbers, and strings. It is designed for efficient object storage, database integration, and single-file use.
ArrayObject is part of the dbgbb project.
Features
- Self-describing data that can inflate into typed variables.
- Simple, uniform arrays: no nested structures, tuples, or dataset names.
- Generic integer and float types abstract away type size differences.
- Automatic compression via variable-length encoding and dictionary coding for strings, minimizing storage size.
- Seamless conversions to and from
Vec<_>,[T; N],ndarray, andnalgebra.
Usage Examples
Encoding and Decoding
use *;
File Operations with Macros
use *;
Crate Features
| Feature | Description |
|---|---|
allow_float_down_convert |
Enables implicit conversion (e.g., f64 to f32). |
ndarray_15 |
Enables ndarray support for version 0.15.x. |
ndarray_16 |
Enables ndarray support for version 0.16.x. |
ndarray_17 |
Enables ndarray support for version 0.16.x. |
nalgebra_33 |
Enables nalgebra support for version 0.33.x. |
nalgebra_34 |
Enables nalgebra support for version 0.34.x. |
