Fix v8 footer size

This commit is contained in:
Truman Kilen 2023-01-18 14:02:46 -06:00
parent 46e2ced47e
commit 232e6f2a8c

View file

@ -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
}