@markw65/monkeyc-optimizer 1.1.15 → 1.1.16
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.
- package/README.md +21 -0
- package/build/api.cjs +86 -14515
- package/build/chunk-IAUHYWVN.cjs +5717 -0
- package/build/chunk-K32K3YD4.cjs +145 -0
- package/build/chunk-TQHOJQYY.cjs +4660 -0
- package/build/chunk-VVIZ2ADY.cjs +23697 -0
- package/build/chunk-WIPYYCBN.cjs +54 -0
- package/build/optimizer.cjs +56 -17007
- package/build/sdk-util.cjs +49 -11286
- package/build/src/api.d.ts +1 -1
- package/build/src/logger.d.ts +2 -0
- package/build/src/optimizer.d.ts +2 -2
- package/build/src/readprg/array-init.d.ts +2 -0
- package/build/src/readprg/bytecode.d.ts +8 -1
- package/build/src/readprg/dce.d.ts +1 -1
- package/build/src/readprg/emit.d.ts +2 -0
- package/build/src/readprg/exceptions.d.ts +2 -1
- package/build/src/type-flow/dead-store.d.ts +1 -1
- package/build/src/util.d.ts +2 -2
- package/build/util.cjs +66 -8006
- package/package.json +9 -10
package/README.md
CHANGED
|
@@ -737,3 +737,24 @@ Bug Fixes
|
|
|
737
737
|
|
|
738
738
|
- Source to Source Optimizer improvements
|
|
739
739
|
- Adds an `Iterate Optimizer` option that causes the optimizer to keep re-running until it finds nothing to remove. Defaults to false.
|
|
740
|
+
|
|
741
|
+
### 1.1.16
|
|
742
|
+
|
|
743
|
+
- Project infrastructure
|
|
744
|
+
|
|
745
|
+
- Update to [@markw65/prettier-plugin-monkeyc@1.0.46](https://github.com/markw65/prettier-plugin-monkeyc#1046)
|
|
746
|
+
- no functional change.
|
|
747
|
+
- switch from webpack to esbuild, for faster builds, and better packaging.
|
|
748
|
+
- mark the package as `commonjs` so that prettier-extension-monkeyc can set `moduleResolution: nodenext`
|
|
749
|
+
|
|
750
|
+
- Optimizations
|
|
751
|
+
- Make local dce smarter
|
|
752
|
+
- all locals are dead at function exits
|
|
753
|
+
- Make block sharing smarter
|
|
754
|
+
- allow partial blocks to be merged
|
|
755
|
+
- better heuristics for when its advantageous to merge small blocks
|
|
756
|
+
- Better control flow optimizations
|
|
757
|
+
- Merge "linear" blocks, where the first has a single successor, and the second has a single predecessor
|
|
758
|
+
- Avoid `goto` when the target is fewer than 3 bytes
|
|
759
|
+
- Optimize array initialization by using a loop
|
|
760
|
+
- Identify arrays that are unused, and make it possible for dce to clean up their initializers.
|