Hi,

We have ported Zlib library in pure actionscript.

Sources and demo available at: http://www.wizhelp.com/fzlib/

FZib can be used to when native flash functions are not enough:
_ handle Zlib streams
_ inflate/deflate Data without Zlib header
_ handle fine tuning on compression

We spent some time to optimize the library and the result is not so bad
(only 4 times slower than Java version).

Good to know for optimization purpose:
_ byteArray.readByte() is 10 times slower than byteArray[index]
_ array[index] is 20% slower than byteArray[index] (for byte, of course)

Hope it could be useful for some project!

Fell free to contact us about it.

Best regards
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to