zlib-streams 1.0.7 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/Makefile +23 -8
  2. package/dist/zlib-streams-dev.wasm +0 -0
  3. package/dist/zlib-streams.js +145 -75
  4. package/dist/zlib-streams.wasm +0 -0
  5. package/package.json +2 -2
  6. package/src/README.md +61 -1
  7. package/src/chunkcopy.h +565 -0
  8. package/src/compare256.h +56 -0
  9. package/src/cpu_features.h +22 -0
  10. package/src/deflate.c +2349 -0
  11. package/src/deflate.h +420 -0
  12. package/src/deflate_crc32.c +22 -0
  13. package/src/inffast.h +26 -0
  14. package/src/{inffast.c → inffast_chunk.c} +127 -71
  15. package/src/inffast_chunk.h +42 -0
  16. package/src/inflate.c +69 -33
  17. package/src/insert_string.h +80 -0
  18. package/src/wasm/api/zlib-streams.js +145 -75
  19. package/src/wasm/wasm_stream_common.c +8 -4
  20. package/build/debug/src/inffast.d +0 -8
  21. package/build/debug/src/inffast.o +0 -0
  22. package/build/debug/src/inflate.d +0 -8
  23. package/build/debug/src/inflate.o +0 -0
  24. package/build/debug/src/inftrees.d +0 -6
  25. package/build/debug/src/inftrees.o +0 -0
  26. package/build/debug/src/zlib/adler32.d +0 -5
  27. package/build/debug/src/zlib/adler32.o +0 -0
  28. package/build/debug/src/zlib/contrib/infback9/infback9.d +0 -13
  29. package/build/debug/src/zlib/contrib/infback9/infback9.o +0 -0
  30. package/build/debug/src/zlib/contrib/infback9/inftree9.d +0 -7
  31. package/build/debug/src/zlib/contrib/infback9/inftree9.o +0 -0
  32. package/build/debug/src/zlib/crc32.d +0 -6
  33. package/build/debug/src/zlib/crc32.o +0 -0
  34. package/build/debug/src/zlib/trees.d +0 -7
  35. package/build/debug/src/zlib/trees.o +0 -0
  36. package/build/debug/src/zlib/zutil.d +0 -6
  37. package/build/debug/src/zlib/zutil.o +0 -0
  38. package/tmp/all_runs/payload_decompress_nowindow_debug__100k_lines.deflate64.log +0 -34
  39. package/tmp/all_runs/payload_decompress_nowindow_debug__100k_lines.deflate64.out +0 -100000
  40. package/tmp/all_runs/payload_decompress_nowindow_debug__10k_lines.deflate64.log +0 -2
  41. package/tmp/all_runs/payload_decompress_nowindow_debug__10k_lines.deflate64.out +0 -10000
  42. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_63k.deflate64.log +0 -1
  43. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_63k.deflate64.out +0 -0
  44. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_64k.deflate64.log +0 -1
  45. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_64k.deflate64.out +0 -0
  46. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_65k.deflate64.log +0 -2
  47. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_65k.deflate64.out +0 -0
  48. package/tmp/all_runs/payload_decompress_nowindow_debug__rand_block_gap.deflate64.log +0 -1
  49. package/tmp/all_runs/payload_decompress_nowindow_debug__rand_block_gap.deflate64.out +0 -0
  50. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_63k.deflate64.log +0 -1
  51. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_63k.deflate64.out +0 -0
  52. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_64k.deflate64.log +0 -1
  53. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_64k.deflate64.out +0 -0
  54. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_65k.deflate64.log +0 -2
  55. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_65k.deflate64.out +0 -0
  56. package/tmp/all_runs/payload_decompress_nowindow_debug__zeros_100k.deflate64.log +0 -2
  57. package/tmp/all_runs/payload_decompress_nowindow_debug__zeros_100k.deflate64.out +0 -0
  58. package/tmp/all_runs/payload_decompress_ref_debug__100k_lines.deflate64.log +0 -1
  59. package/tmp/all_runs/payload_decompress_ref_debug__100k_lines.deflate64.out +0 -100000
  60. package/tmp/all_runs/payload_decompress_ref_debug__10k_lines.deflate64.log +0 -1
  61. package/tmp/all_runs/payload_decompress_ref_debug__10k_lines.deflate64.out +0 -10000
  62. package/tmp/all_runs/payload_decompress_ref_debug__payload_63k.deflate64.log +0 -1
  63. package/tmp/all_runs/payload_decompress_ref_debug__payload_63k.deflate64.out +0 -0
  64. package/tmp/all_runs/payload_decompress_ref_debug__payload_64k.deflate64.log +0 -1
  65. package/tmp/all_runs/payload_decompress_ref_debug__payload_64k.deflate64.out +0 -0
  66. package/tmp/all_runs/payload_decompress_ref_debug__payload_65k.deflate64.log +0 -1
  67. package/tmp/all_runs/payload_decompress_ref_debug__payload_65k.deflate64.out +0 -0
  68. package/tmp/all_runs/payload_decompress_ref_debug__rand_block_gap.deflate64.log +0 -1
  69. package/tmp/all_runs/payload_decompress_ref_debug__rand_block_gap.deflate64.out +0 -0
  70. package/tmp/all_runs/payload_decompress_ref_debug__repeat_63k.deflate64.log +0 -1
  71. package/tmp/all_runs/payload_decompress_ref_debug__repeat_63k.deflate64.out +0 -0
  72. package/tmp/all_runs/payload_decompress_ref_debug__repeat_64k.deflate64.log +0 -1
  73. package/tmp/all_runs/payload_decompress_ref_debug__repeat_64k.deflate64.out +0 -0
  74. package/tmp/all_runs/payload_decompress_ref_debug__repeat_65k.deflate64.log +0 -1
  75. package/tmp/all_runs/payload_decompress_ref_debug__repeat_65k.deflate64.out +0 -0
  76. package/tmp/all_runs/payload_decompress_ref_debug__zeros_100k.deflate64.log +0 -1
  77. package/tmp/all_runs/payload_decompress_ref_debug__zeros_100k.deflate64.out +0 -0
  78. package/tmp/all_runs/payload_decompress_test_debug__100k_lines.deflate64.log +0 -34
  79. package/tmp/all_runs/payload_decompress_test_debug__100k_lines.deflate64.out +0 -100000
  80. package/tmp/all_runs/payload_decompress_test_debug__10k_lines.deflate64.log +0 -2
  81. package/tmp/all_runs/payload_decompress_test_debug__10k_lines.deflate64.out +0 -10000
  82. package/tmp/all_runs/payload_decompress_test_debug__payload_63k.deflate64.log +0 -1
  83. package/tmp/all_runs/payload_decompress_test_debug__payload_63k.deflate64.out +0 -0
  84. package/tmp/all_runs/payload_decompress_test_debug__payload_64k.deflate64.log +0 -1
  85. package/tmp/all_runs/payload_decompress_test_debug__payload_64k.deflate64.out +0 -0
  86. package/tmp/all_runs/payload_decompress_test_debug__payload_65k.deflate64.log +0 -2
  87. package/tmp/all_runs/payload_decompress_test_debug__payload_65k.deflate64.out +0 -0
  88. package/tmp/all_runs/payload_decompress_test_debug__rand_block_gap.deflate64.log +0 -1
  89. package/tmp/all_runs/payload_decompress_test_debug__rand_block_gap.deflate64.out +0 -0
  90. package/tmp/all_runs/payload_decompress_test_debug__repeat_63k.deflate64.log +0 -1
  91. package/tmp/all_runs/payload_decompress_test_debug__repeat_63k.deflate64.out +0 -0
  92. package/tmp/all_runs/payload_decompress_test_debug__repeat_64k.deflate64.log +0 -1
  93. package/tmp/all_runs/payload_decompress_test_debug__repeat_64k.deflate64.out +0 -0
  94. package/tmp/all_runs/payload_decompress_test_debug__repeat_65k.deflate64.log +0 -2
  95. package/tmp/all_runs/payload_decompress_test_debug__repeat_65k.deflate64.out +0 -0
  96. package/tmp/all_runs/payload_decompress_test_debug__zeros_100k.deflate64.log +0 -2
  97. package/tmp/all_runs/payload_decompress_test_debug__zeros_100k.deflate64.out +0 -0
  98. package/tmp/all_runs/wasm__100k_lines.deflate64.out +0 -100000
  99. package/tmp/all_runs/wasm__10k_lines.deflate64.out +0 -10000
  100. package/tmp/all_runs/wasm__payload_63k.deflate64.out +0 -0
  101. package/tmp/all_runs/wasm__payload_64k.deflate64.out +0 -0
  102. package/tmp/all_runs/wasm__payload_65k.deflate64.out +0 -0
  103. package/tmp/all_runs/wasm__rand_block_gap.deflate64.out +0 -0
  104. package/tmp/all_runs/wasm__repeat_63k.deflate64.out +0 -0
  105. package/tmp/all_runs/wasm__repeat_64k.deflate64.out +0 -0
  106. package/tmp/all_runs/wasm__repeat_65k.deflate64.out +0 -0
  107. package/tmp/all_runs/wasm__zeros_100k.deflate64.out +0 -0
  108. package/tmp/diagnose/diagnose_stream_mem.json +0 -4202
@@ -1 +0,0 @@
1
- inflateBack9 loop ret=1
@@ -1 +0,0 @@
1
- inflateBack9 loop ret=1
@@ -1 +0,0 @@
1
- inflateBack9 loop ret=1
@@ -1 +0,0 @@
1
- inflateBack9 loop ret=1
@@ -1 +0,0 @@
1
- inflateBack9 loop ret=1
@@ -1 +0,0 @@
1
- inflateBack9 loop ret=1
@@ -1 +0,0 @@
1
- inflateBack9 loop ret=1
@@ -1 +0,0 @@
1
- inflateBack9 loop ret=1
@@ -1,34 +0,0 @@
1
- inflate loop ret=0
2
- inflate loop ret=0
3
- inflate loop ret=0
4
- inflate loop ret=0
5
- inflate loop ret=0
6
- inflate loop ret=0
7
- inflate loop ret=0
8
- inflate loop ret=0
9
- inflate loop ret=0
10
- inflate loop ret=0
11
- inflate loop ret=0
12
- inflate loop ret=0
13
- inflate loop ret=0
14
- inflate loop ret=0
15
- inflate loop ret=0
16
- inflate loop ret=0
17
- inflate loop ret=0
18
- inflate loop ret=0
19
- inflate loop ret=0
20
- inflate loop ret=0
21
- inflate loop ret=0
22
- inflate loop ret=0
23
- inflate loop ret=0
24
- inflate loop ret=0
25
- inflate loop ret=0
26
- inflate loop ret=0
27
- inflate loop ret=0
28
- inflate loop ret=0
29
- inflate loop ret=0
30
- inflate loop ret=0
31
- inflate loop ret=0
32
- inflate loop ret=0
33
- inflate loop ret=0
34
- inflate loop ret=1