[Mono-bugs] [Bug 574597] [Regression?] poor compression in mono 2.6 with System.IO.Compression.GZipStream
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Feb 1 16:36:44 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=574597
http://bugzilla.novell.com/show_bug.cgi?id=574597#c1
Gonzalo Paniagua Javier <gonzalo at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #1 from Gonzalo Paniagua Javier <gonzalo at novell.com> 2010-02-01 21:36:43 UTC ---
Simple test case:
----------------
using System;
using System.IO;
using System.IO.Compression;
class Test {
static void Main ()
{
File.Delete ("test.gz");
using (GZipStream stream = new GZipStream (File.OpenWrite ("test.gz"),
CompressionMode.Compress)) {
for (int i = 0; i < 1024; i++)
stream.WriteByte ((byte) 'a');
}
}
}
------------
The output generated is about 7kB with 2.6.1 and 29 or 30 bytes with 2.4 or
current trunk.
The patch was applied in r150349 (trunk), r150350 (mono-2-6) and r150351
(mono-2-4).
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list