Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mnpw/trivecta

good old vector served three way
https://github.com/mnpw/trivecta

Last synced: 4 days ago
JSON representation

good old vector served three way

Awesome Lists containing this project

README

        

# TriVec-ta

Inspired by rust-smallvec, it provides three modes of storing data:
- stack
- heap
- disk

Based on the capacities set, TriVec moves its content between the three
stores

## Usage

```rust
// using `trivec` macro
let mut v = trivec![1, 2, 3, 4, 5; 100; 10_000]

let mut v: TriVec = TriVec::new(100, 10_000)
```