From 47f6ab12798766f7aa26e85f269cba4917d69245 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Tue, 17 Jun 2025 12:31:05 +0200 Subject: [PATCH] Never CBO-encode --- .../src/heed_codec/roaring_bitmap/cbo_roaring_bitmap_codec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/milli/src/heed_codec/roaring_bitmap/cbo_roaring_bitmap_codec.rs b/crates/milli/src/heed_codec/roaring_bitmap/cbo_roaring_bitmap_codec.rs index c9addd598..c83fe28a1 100644 --- a/crates/milli/src/heed_codec/roaring_bitmap/cbo_roaring_bitmap_codec.rs +++ b/crates/milli/src/heed_codec/roaring_bitmap/cbo_roaring_bitmap_codec.rs @@ -12,7 +12,7 @@ use crate::update::del_add::{DelAdd, KvReaderDelAdd}; /// This is the limit where using a byteorder became less size efficient /// than using a direct roaring encoding, it is also the point where we are able /// to determine the encoding used only by using the array of bytes length. -pub const THRESHOLD: usize = 3; +pub const THRESHOLD: usize = 0; /// A conditionnal codec that either use the RoaringBitmap /// or a lighter ByteOrder en/decoding method.