1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Up the compression threshold to 64K so we avoid it for all but the largest

bytecode files. This should help linking substantially.

llvm-svn: 18378
This commit is contained in:
Reid Spencer 2004-11-30 07:13:34 +00:00
parent 537e5a6b50
commit b392dd6861

View File

@ -249,7 +249,7 @@ uint64_t Compressor::compress(const char* in, unsigned size,
// For small files, we just don't bother compressing. bzip2 isn't very good
// with tiny files and can actually make the file larger, so we just avoid
// it altogether.
if (size > 256) {
if (size > 64*1024) {
// Set up the bz_stream
bz_stream bzdata;
bzdata.bzalloc = 0;