From 232e6f2a8c9fdbc8f7c2ac463f3ca414e70f0e2f Mon Sep 17 00:00:00 2001 From: Truman Kilen Date: Wed, 18 Jan 2023 14:02:46 -0600 Subject: [PATCH] Fix v8 footer size --- src/lib.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 717d727..5625ecd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -50,12 +50,8 @@ impl Version { size += 1; } if self >= Version::FNameBasedCompression { - // compression names: [[u8; 32]; 4] - size += 32 * 4; - } - if self >= Version::FrozenIndex { - // extra compression name: [u8; 32] - size += 32 + // compression names: [[u8; 32]; 5] + size += 32 * 5; } size }