From 3fb1001470f594a9edb188ba64900afb6c5c41c6 Mon Sep 17 00:00:00 2001 From: Roman Gershman Date: Thu, 8 May 2025 12:25:54 +0300 Subject: [PATCH] Update src/core/compact_object.cc Co-authored-by: Kostas Kyrimis Signed-off-by: Roman Gershman --- src/core/compact_object.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/compact_object.cc b/src/core/compact_object.cc index cc4479bc3..4d8b4f2e2 100644 --- a/src/core/compact_object.cc +++ b/src/core/compact_object.cc @@ -1420,7 +1420,7 @@ void CompactObj::EncodeString(string_view str) { string_view encoded = str; bool huff_encoded = false; - // We chose such length that we can store the decoded lendth delta into 1 byte. + // We chose such length that we can store the decoded length delta into 1 byte. // The maximum huffman compression is 1/8, so 288 / 8 = 36. // 288 - 36 = 252, which is smaller than 256. constexpr unsigned kMaxHuffLen = 288;