[BZip2] Additionally reduce block sizes by 1.25

This is required, because, apparently, original bzip2 implementation doesn't account for the fact that the initial RLE can cause expansion of the data.
This commit is contained in:
Timofey Solomko
2018-01-16 22:28:35 +03:00
parent 6b6ece5b6e
commit ca41cc3b5f
+1 -1
View File
@@ -60,7 +60,7 @@ public extension BZip2 {
}
var sizeInBytes: Int {
return self.rawValue * 100 * 1000
return self.rawValue * 100 * 800
}
}