mirror of
https://github.com/lancedb/lancedb.git
synced 2026-10-15 16:22:27 +00:00
16 lines
873 B
Markdown
16 lines
873 B
Markdown
This is `rust/lance-encoding` from
|
|
[`lance-format/lance` v13.0.0-beta.15](https://github.com/lance-format/lance/tree/db53dcf367088b32ae3a7461407d43593759ae3e/rust/lance-encoding),
|
|
with the crate's build protos copied into `protos/`. Its manifest uses explicit
|
|
dependencies so it can be built outside the Lance workspace.
|
|
|
|
The Rust sources retain the original Lance Authors attribution alongside the
|
|
LanceDB Authors header required by this repository's license check for the
|
|
vendored copy.
|
|
|
|
The only behavioral source change is in `src/compression.rs`: skip out-of-line
|
|
bitpacking when the selected width is the full width of the values. That encoder
|
|
requires positive bit savings for a partial 1024-value chunk and panics in debug builds
|
|
for signed dictionaries containing negative integers.
|
|
|
|
Remove this patch and the root Cargo patch entry once Lance releases the guard.
|