Open azrafe7 opened 7 years ago
Additional notes:
future-wise this lib could be improved upon by using native implementations where possible (ensuring output is still binary compatible with zlib)
currently untested solutions:
for java || php || neko || hl || cpp || flash
haxe.zip.Compress/haxei.ip.Uncompress (InflateImpl)
A pure Haxe implementation of the ZLIB Inflate algorithm which allows reading compressed data without any platform-specific support.
for python zlib
for nodejs zlib
NOTE: A haxe user reached out to me via email to ask some questions about the lib, so I thought it would have been useful to report that info here.
Hi and thanks for exposing your concerns. Here's a summary:
hxPako
has been updated not too long ago to be in sync with pako 1.0.4 (latest rev as of writing). Notably, from pre-1.0.0 to 1.0.4, a subtle - but critical - bug has been fixed, and custom dicts support has been added.haxe testAll.hxml -<target specific args here>
); bear in mind that hxPako doesn't directly support strings and arrays (as stated in the README Notes). They're all passing for different targets, but neko, python and php are quite slow when compared to js/cs/java/cpp, so some of the tests may timeout and be reported as failing (please run them on your machine to have a first-hand proof of this).PS: I'm going to repaste all of this into an issue on github, in case someone else can find this info useful.