Skip to content

Commit 617f690

Browse files
committed
Use 1024-value pco pages in btrblocks float/integer schemes
The btrblocks PcoScheme for floats and integers compressed with an 8192- value page size. Shrinking the page to 1024 keeps the per-row size essentially unchanged (~0.03 bits/value for f64, ~0.07 bits/value for i64 in the new pcodec_page_size bench) while shrinking the decode window 8x for random access via scalar_at. Signed-off-by: Claude <noreply@anthropic.com>
1 parent 11249fb commit 617f690

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

vortex-btrblocks/src/schemes/float.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ impl Scheme for PcoScheme {
319319
Ok(vortex_pco::Pco::from_primitive(
320320
data.array_as_primitive(),
321321
pco::DEFAULT_COMPRESSION_LEVEL,
322-
8192,
322+
1024,
323323
exec_ctx,
324324
)?
325325
.into_array())

vortex-btrblocks/src/schemes/integer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ impl Scheme for PcoScheme {
813813
Ok(vortex_pco::Pco::from_primitive(
814814
data.array_as_primitive(),
815815
pco::DEFAULT_COMPRESSION_LEVEL,
816-
8192,
816+
1024,
817817
exec_ctx,
818818
)?
819819
.into_array())

0 commit comments

Comments
 (0)