@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 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.