mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Up the compression threshold to 64K so we avoid it for all but the largest
bytecode files. This should help linking substantially. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18378 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5a85d9c664
commit
a7a5cc889c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user