[llvm-commits] CVS: llvm/lib/Support/Compressor.cpp
Reid Spencer
reid at x10sys.com
Mon Nov 29 23:13:45 PST 2004
Changes in directory llvm/lib/Support:
Compressor.cpp updated: 1.8 -> 1.9
---
Log message:
Up the compression threshold to 64K so we avoid it for all but the largest
bytecode files. This should help linking substantially.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Support/Compressor.cpp
diff -u llvm/lib/Support/Compressor.cpp:1.8 llvm/lib/Support/Compressor.cpp:1.9
--- llvm/lib/Support/Compressor.cpp:1.8 Thu Nov 25 13:38:16 2004
+++ llvm/lib/Support/Compressor.cpp Tue Nov 30 01:13:34 2004
@@ -249,7 +249,7 @@
// 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;
More information about the llvm-commits
mailing list