diff --git a/crates/loro-core/src/log_store/encoding.rs b/crates/loro-core/src/log_store/encoding.rs index 273adc96..2eeb11ab 100644 --- a/crates/loro-core/src/log_store/encoding.rs +++ b/crates/loro-core/src/log_store/encoding.rs @@ -40,9 +40,8 @@ struct ChangeEncoding { lamport: Lamport, #[columnar(strategy = "DeltaRle", original_type = "i64")] timestamp: Timestamp, - #[columnar(original_type = "u32")] op_len: u32, - #[columnar(strategy = "Rle", original_type = "u32")] + #[columnar(strategy = "Rle")] deps_len: u32, } @@ -52,9 +51,7 @@ struct OpEncoding { #[columnar(strategy = "Rle", original_type = "u32")] container: ContainerIdx, /// key index or insert/delete pos - #[columnar(strategy = "DeltaRle", original_type = "u32")] prop: usize, - #[columnar(strategy = "Rle", original_type = "u32")] // TODO: can be compressed gc: usize, value: LoroValue,