frog0214 / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Improvement of memory handling in gzipstream.cs #596

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The read function in gzipstream.cs allocates and deallocates tmpOutputBuffer 
and tmpOutpuBufferHandle for every read. 
tmpOutputBuffer and tmpOutpuBufferHandle should be made a permanent class 
attributes so that they need to be allocated and deallocated just once.

Original issue reported on code.google.com by Matthias...@googlemail.com on 7 Jun 2012 at 11:46

GoogleCodeExporter commented 8 years ago
Hi Matthias, would you like to submit a patch for that?
Thanks!

Original comment by ccherub...@google.com on 7 Jun 2012 at 8:01

GoogleCodeExporter commented 8 years ago
Sure - but I can not find the module anymore when checking out. Is it 
deprecated or only with .NET 2.0?
I found the code using this link 
http://www.koders.com/csharp/fidB377599DB0D658DEA5BD81F67CA407C4FE12E93B.aspx?s=
login originally.

Original comment by Matthias...@googlemail.com on 11 Jun 2012 at 2:30

GoogleCodeExporter commented 8 years ago
You're right, that module has been replaced with the GZipStream class from the 
.NET framework.
I'm closing this issue as ByDesign.

Original comment by ccherub...@google.com on 11 Jun 2012 at 4:29