zlib-streams 1.0.7 → 1.1.0

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 (107) hide show
  1. package/Makefile +21 -8
  2. package/dist/zlib-streams-dev.wasm +0 -0
  3. package/dist/zlib-streams.js +135 -62
  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 +135 -62
  19. package/build/debug/src/inffast.d +0 -8
  20. package/build/debug/src/inffast.o +0 -0
  21. package/build/debug/src/inflate.d +0 -8
  22. package/build/debug/src/inflate.o +0 -0
  23. package/build/debug/src/inftrees.d +0 -6
  24. package/build/debug/src/inftrees.o +0 -0
  25. package/build/debug/src/zlib/adler32.d +0 -5
  26. package/build/debug/src/zlib/adler32.o +0 -0
  27. package/build/debug/src/zlib/contrib/infback9/infback9.d +0 -13
  28. package/build/debug/src/zlib/contrib/infback9/infback9.o +0 -0
  29. package/build/debug/src/zlib/contrib/infback9/inftree9.d +0 -7
  30. package/build/debug/src/zlib/contrib/infback9/inftree9.o +0 -0
  31. package/build/debug/src/zlib/crc32.d +0 -6
  32. package/build/debug/src/zlib/crc32.o +0 -0
  33. package/build/debug/src/zlib/trees.d +0 -7
  34. package/build/debug/src/zlib/trees.o +0 -0
  35. package/build/debug/src/zlib/zutil.d +0 -6
  36. package/build/debug/src/zlib/zutil.o +0 -0
  37. package/tmp/all_runs/payload_decompress_nowindow_debug__100k_lines.deflate64.log +0 -34
  38. package/tmp/all_runs/payload_decompress_nowindow_debug__100k_lines.deflate64.out +0 -100000
  39. package/tmp/all_runs/payload_decompress_nowindow_debug__10k_lines.deflate64.log +0 -2
  40. package/tmp/all_runs/payload_decompress_nowindow_debug__10k_lines.deflate64.out +0 -10000
  41. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_63k.deflate64.log +0 -1
  42. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_63k.deflate64.out +0 -0
  43. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_64k.deflate64.log +0 -1
  44. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_64k.deflate64.out +0 -0
  45. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_65k.deflate64.log +0 -2
  46. package/tmp/all_runs/payload_decompress_nowindow_debug__payload_65k.deflate64.out +0 -0
  47. package/tmp/all_runs/payload_decompress_nowindow_debug__rand_block_gap.deflate64.log +0 -1
  48. package/tmp/all_runs/payload_decompress_nowindow_debug__rand_block_gap.deflate64.out +0 -0
  49. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_63k.deflate64.log +0 -1
  50. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_63k.deflate64.out +0 -0
  51. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_64k.deflate64.log +0 -1
  52. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_64k.deflate64.out +0 -0
  53. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_65k.deflate64.log +0 -2
  54. package/tmp/all_runs/payload_decompress_nowindow_debug__repeat_65k.deflate64.out +0 -0
  55. package/tmp/all_runs/payload_decompress_nowindow_debug__zeros_100k.deflate64.log +0 -2
  56. package/tmp/all_runs/payload_decompress_nowindow_debug__zeros_100k.deflate64.out +0 -0
  57. package/tmp/all_runs/payload_decompress_ref_debug__100k_lines.deflate64.log +0 -1
  58. package/tmp/all_runs/payload_decompress_ref_debug__100k_lines.deflate64.out +0 -100000
  59. package/tmp/all_runs/payload_decompress_ref_debug__10k_lines.deflate64.log +0 -1
  60. package/tmp/all_runs/payload_decompress_ref_debug__10k_lines.deflate64.out +0 -10000
  61. package/tmp/all_runs/payload_decompress_ref_debug__payload_63k.deflate64.log +0 -1
  62. package/tmp/all_runs/payload_decompress_ref_debug__payload_63k.deflate64.out +0 -0
  63. package/tmp/all_runs/payload_decompress_ref_debug__payload_64k.deflate64.log +0 -1
  64. package/tmp/all_runs/payload_decompress_ref_debug__payload_64k.deflate64.out +0 -0
  65. package/tmp/all_runs/payload_decompress_ref_debug__payload_65k.deflate64.log +0 -1
  66. package/tmp/all_runs/payload_decompress_ref_debug__payload_65k.deflate64.out +0 -0
  67. package/tmp/all_runs/payload_decompress_ref_debug__rand_block_gap.deflate64.log +0 -1
  68. package/tmp/all_runs/payload_decompress_ref_debug__rand_block_gap.deflate64.out +0 -0
  69. package/tmp/all_runs/payload_decompress_ref_debug__repeat_63k.deflate64.log +0 -1
  70. package/tmp/all_runs/payload_decompress_ref_debug__repeat_63k.deflate64.out +0 -0
  71. package/tmp/all_runs/payload_decompress_ref_debug__repeat_64k.deflate64.log +0 -1
  72. package/tmp/all_runs/payload_decompress_ref_debug__repeat_64k.deflate64.out +0 -0
  73. package/tmp/all_runs/payload_decompress_ref_debug__repeat_65k.deflate64.log +0 -1
  74. package/tmp/all_runs/payload_decompress_ref_debug__repeat_65k.deflate64.out +0 -0
  75. package/tmp/all_runs/payload_decompress_ref_debug__zeros_100k.deflate64.log +0 -1
  76. package/tmp/all_runs/payload_decompress_ref_debug__zeros_100k.deflate64.out +0 -0
  77. package/tmp/all_runs/payload_decompress_test_debug__100k_lines.deflate64.log +0 -34
  78. package/tmp/all_runs/payload_decompress_test_debug__100k_lines.deflate64.out +0 -100000
  79. package/tmp/all_runs/payload_decompress_test_debug__10k_lines.deflate64.log +0 -2
  80. package/tmp/all_runs/payload_decompress_test_debug__10k_lines.deflate64.out +0 -10000
  81. package/tmp/all_runs/payload_decompress_test_debug__payload_63k.deflate64.log +0 -1
  82. package/tmp/all_runs/payload_decompress_test_debug__payload_63k.deflate64.out +0 -0
  83. package/tmp/all_runs/payload_decompress_test_debug__payload_64k.deflate64.log +0 -1
  84. package/tmp/all_runs/payload_decompress_test_debug__payload_64k.deflate64.out +0 -0
  85. package/tmp/all_runs/payload_decompress_test_debug__payload_65k.deflate64.log +0 -2
  86. package/tmp/all_runs/payload_decompress_test_debug__payload_65k.deflate64.out +0 -0
  87. package/tmp/all_runs/payload_decompress_test_debug__rand_block_gap.deflate64.log +0 -1
  88. package/tmp/all_runs/payload_decompress_test_debug__rand_block_gap.deflate64.out +0 -0
  89. package/tmp/all_runs/payload_decompress_test_debug__repeat_63k.deflate64.log +0 -1
  90. package/tmp/all_runs/payload_decompress_test_debug__repeat_63k.deflate64.out +0 -0
  91. package/tmp/all_runs/payload_decompress_test_debug__repeat_64k.deflate64.log +0 -1
  92. package/tmp/all_runs/payload_decompress_test_debug__repeat_64k.deflate64.out +0 -0
  93. package/tmp/all_runs/payload_decompress_test_debug__repeat_65k.deflate64.log +0 -2
  94. package/tmp/all_runs/payload_decompress_test_debug__repeat_65k.deflate64.out +0 -0
  95. package/tmp/all_runs/payload_decompress_test_debug__zeros_100k.deflate64.log +0 -2
  96. package/tmp/all_runs/payload_decompress_test_debug__zeros_100k.deflate64.out +0 -0
  97. package/tmp/all_runs/wasm__100k_lines.deflate64.out +0 -100000
  98. package/tmp/all_runs/wasm__10k_lines.deflate64.out +0 -10000
  99. package/tmp/all_runs/wasm__payload_63k.deflate64.out +0 -0
  100. package/tmp/all_runs/wasm__payload_64k.deflate64.out +0 -0
  101. package/tmp/all_runs/wasm__payload_65k.deflate64.out +0 -0
  102. package/tmp/all_runs/wasm__rand_block_gap.deflate64.out +0 -0
  103. package/tmp/all_runs/wasm__repeat_63k.deflate64.out +0 -0
  104. package/tmp/all_runs/wasm__repeat_64k.deflate64.out +0 -0
  105. package/tmp/all_runs/wasm__repeat_65k.deflate64.out +0 -0
  106. package/tmp/all_runs/wasm__zeros_100k.deflate64.out +0 -0
  107. 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