@markw65/monkeyc-optimizer 1.0.41 → 1.0.43

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
@@ -490,3 +490,31 @@ Bug Fixes
490
490
 
491
491
  - Bug fixes
492
492
  - The fix to avoid visiting definitions from visitReferences was incomplete
493
+
494
+ ### 1.0.42
495
+
496
+ - Update to [@markw65/prettier-plugin-monkeyc@1.0.38](https://github.com/markw65/prettier-plugin-monkeyc#1038)
497
+
498
+ - faster parsing
499
+ - supports parsing the attributes in api.mir, including sdk version etc.
500
+
501
+ - Performance
502
+
503
+ - Using the updated prettier-plugin-monkeyc halves the time spent in the parser
504
+ - There was some pathalogical behavior in the jungle processing. For most projects, it was quite fast (under 1s), but the worst project I found took nearly 5 minutes. I fixed a lot of redundant processing, which dropped most projects to under 500ms, with a worst case of 20s.
505
+ - I had some caching code to prevent reading the same resource file multiple times, but the cache didn't work properly because an async function ran in between the test of the cache, and the fill of the cache; which meant that lots of threads could test the cache and decide it needed to be filled. Fixed by caching Promises, rather than the promise results. Dropped the worst case 20s down to under 500ms, and the average down below 100ms.
506
+ - improved incremental builds (which helps with prettier-extension-monkeyc's live analysis)
507
+
508
+ - New features
509
+ - Resource files, and manifest.xml generate definitions and references so that prettier-extension-monkeyc can provide Goto Ref/Def between monkeyc, resource, and manifest files.
510
+
511
+ ### 1.0.43
512
+
513
+ - Update to [@markw65/prettier-plugin-monkeyc@1.0.39](https://github.com/markw65/prettier-plugin-monkeyc#1039)
514
+
515
+ - Fixes issues parsing/printing/optimizing NaN
516
+
517
+ - Fix issues with windows paths introduced in 1.0.42
518
+ - Add Symbols (`:name`) to the list of things the inliner knows are constants
519
+ - Propagate `:typecheck(false)` to the caller when inlining
520
+ - Fix an issue with bogus undefined symbols being reported against manifest.xml in some projects that use barrels.