vortex_onpair/lib.rs
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright the Vortex contributors
3
4//! Vortex string array backed by the [OnPair][onpair] short-string
5//! compression library, with `cast` and `filter` pushdown.
6//!
7//! The default training preset is `dict-12` (12 bits per token, dictionary
8//! capped at 4 096 entries). See [`onpair_compress`] for the entry point and
9//! [`OnPairArray`] for the resulting array type.
10//!
11//! [onpair]: https://arxiv.org/abs/2508.02280
12
13mod array;
14mod canonical;
15mod compress;
16mod compute;
17mod decode;
18mod kernel;
19mod ops;
20mod rules;
21#[cfg(test)]
22mod tests;
23
24pub use array::*;
25pub use compress::*;
26pub use onpair::Bits;
27pub use onpair::Config;
28pub use onpair::Error as OnPairError;
29pub use onpair::Threshold;