Menu

Why is CsharpLib Gzip needed?

2007-08-08
2013-04-17
  • C.C.H. Weinberg

    C.C.H. Weinberg - 2007-08-08

    Hello,

    Why is de c#2.0 version using the CSharpLib.Gzip for gzip compression?
    Can't it be replaced with the internal GzipStream?

     
    • Tim Gebhardt

      Tim Gebhardt - 2007-08-08

      We use SharpZipLib for two reasons. 

      The first is that .NET 1.x does not have a similar library.  In a future release when I get time I would like to make the compression module pluggable so there isn't a dependency on an external library like that. 

      The second reason is that when I was testing the two libraries a while ago SharpZipLib was actually faster and compressed better than the built in libraries.  If you have code that confirms otherwise I'd love to see it and for you to send it over.

      -Tim

       
    • C.C.H. Weinberg

      C.C.H. Weinberg - 2007-08-08

      I've been playing around with some c# 2.0 features like generics and using
      the builtin gzipstream and my code is currently slower when running the
      benchmark included in the project. Though not by a lot. If i have something
      usefull i'll post a patch.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.