You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expanding conceptual docs (and some other minor docs) (#8552)
## Summary
Adds more docs, both module level conceptual docs which pulls from
`docs/`, and many local changes documenting specific functions or types.
Also tried to include basic examples.
The main changes are in `vortex`, `vortex-array` and `vortex-file` and
`vortex-layout`.
Was done with the help of Claude to try and find gaps/mistakes, and fill
in some of the obvious changes.
---------
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
Copy file name to clipboardExpand all lines: encodings/fastlanes/src/lib.rs
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,29 @@
3
3
4
4
#![expect(clippy::cast_possible_truncation)]
5
5
6
+
//! FastLanes integer encodings for Vortex arrays.
7
+
//!
8
+
//! This crate provides SIMD-friendly integer encodings:
9
+
//!
10
+
//! - [`BitPacked`] stores fixed-width integer values using the minimum bit width plus optional
11
+
//! patches.
12
+
//! - [`FoR`] stores frame-of-reference deltas from a base value.
13
+
//! - [`Delta`] stores adjacent deltas in chunked form.
14
+
//! - [`RLE`] stores repeated runs.
15
+
//!
16
+
//! Call [`initialize`] to register the encodings and encoding-specific aggregate kernels in a
17
+
//! session before deserializing or executing arrays that may contain these encodings.
18
+
//!
19
+
//! ```rust
20
+
//! let session = vortex_array::array_session();
21
+
//! vortex_fastlanes::initialize(&session);
22
+
//! ```
23
+
//!
24
+
//! ## Paper
25
+
//!
26
+
//! The original encodings are described in the paper [The FastLanes Compression Layout](https://15721.courses.cs.cmu.edu/spring2024/papers/03-data2/p2132-afroozeh.pdf),
27
+
//! but are not fully binary compatible. See the underlying [fastlanes](https://github.com/spiraldb/fastlanes) crate for more details.
0 commit comments