[ENH] Zippier Streams & Decompression

Andreas Raab andreas.raab at gmx.de
Tue Aug 12 15:03:13 UTC 2003


Change Set:		ZippierStreams
Date:			12 August 2003
Author:			Andreas Raab

This change set speeds up various stream writing operations. It was created
when I noticed how much time ZipArchive spends during extracting its
contents. For the Balloon3D.sar (which I used for profiling) decompression
speed improved 
	from: 	2,881 msecs
	to:		172 msecs
Which is roughly 17 times faster. The benchmark used was:

file := FileStream readOnlyFileNamed: 'Balloon3D.1.0.4.sar'.
MessageTally spyOn:[
	archive := ZipArchive new readFrom: file.
	archive members do:[:mbr| mbr contents].
].
file close.

Cheers,
  - Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ZippierStreams.1.cs
Type: application/octet-stream
Size: 1423 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030812/b611ad17/ZippierStreams.1.obj


More information about the Squeak-dev mailing list