@markw65/monkeyc-optimizer 1.1.12 → 1.1.13
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 +4 -0
- package/build/api.cjs +383 -204
- package/build/optimizer.cjs +365 -199
- package/build/src/api.d.ts +1 -1
- package/build/src/optimizer-types.d.ts +1 -0
- package/build/src/type-flow/mimimize-modules.d.ts +3 -0
- package/build/src/type-flow/minimize-locals.d.ts +2 -0
- package/build/src/type-flow/minimize-modules.d.ts +3 -0
- package/build/src/type-flow/types.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -711,3 +711,7 @@ Bug Fixes
|
|
|
711
711
|
- Streamline some of the data structures used for `Minimise Locals` and `Single Copy Prop` to reduce memory use, and speed things up a little.
|
|
712
712
|
- Fix a bug that could cause incorrect copy propagation in loops
|
|
713
713
|
- Add support for update assignments in copy propagation (so that `var x = a; x += b; return x` goes to `return a + b`)
|
|
714
|
+
|
|
715
|
+
### 1.1.13
|
|
716
|
+
|
|
717
|
+
- Adds a new [Minimize Modules](https://github.com/markw65/monkeyc-optimizer/wiki/Optimizing-module-imports#minimize-modules) pass, which attempts to ensure that every module referenced by the program is imported.
|