|
突然发现这个优化器更新了,有没有人翻译下更新内容呢
Version History:
4.8:
- Better number literal optimization may reduce filesize slightly better than the previous version.
- The optimizer is now more agressive when adding safety !=null stuff to prevent the IsUnitType bug. This might increment some maps' bits after optimizing but will greatly reduce the risk of this problem (in fact, it might actually stop happening).
- The Enforce IsUnitType safety tweak is not ignored anymore, ironically, due to the above change it may not be necessary anymore.
- Fixed "init function merge" causing compile errors if there was a function with only local variables.
4.7c:
- Fixed a major bug with init Merge on certain maps doing more than usual inside InitTrig.
- The tweaks "Disable:" frame now says "Avoid: (Check to disable)".
4.7b:
- Fixed a major bug with EnumDestructablesInCircleBJ and BJ optimize, often reported as "compress map names makes my map lag like hell"
- Fixed a minor memory leak possibility in replacement for EnumDestructablesInCircleBJ.
- Fixed readme bugs.
4.7:
- Fixed a memory leak and probable crash with a mpq-file-reading function.
- Fixed a bug that could come in Merge Init functions in certain maps that were compiled using jasshelper's inline optimizations.
- The [Merge Init functions] should be more effective and able to avoid more problems.
- Maps using TriggerRegisterVariableEvent will automatically get an all caps charmap for name compression.
- Command line gibberish.
4.6
- Bugfix: Constant variable inlining conflicting with local declarations using the same variable name.
- Bugfix: Unfortunate constant variable double inline (constant integer A=1, constant integer B=A, set x=B).
- Feature: Compress map names uses real variable protection automatically if it finds a call to TriggerRegisterVariableEvent.
4.5:
- Can save tweaks once again.
- Fixed another bug with the BJ optimization in some maps that used EnumDestructablesInCircleBJ.
4.4:
- Fixed issues with strings that contained the number 5.
- Fixed a dangerous bug with the BJ optimization in some maps that used EnumDestructablesInCircleBJ.
- Added a tweak to turn rawcodes into numbers.
4.3:
- Fixed an issue with strings in the script that were formed of digits or _, again.
- Fixed an issue with the optimizer replacing \\ with \" (or viceversa) in strings.
- Fixed a bug regarding possible malfunction after inlining real constants that did not specify a real initial value.
4.2:
- Fixed an issue with strings in the script that were formed of digits or _
- Fixed jass compile error in maps that used EnumDestructablesInCircleBJ
4.1:
- Readme updated
- Changed the interface a lot.
- Fixed a bug with 'Compress names' a.k.a "Shortest names as possible" that was potentially dangerous for scripts with a lot of globals. (A LOT of globals)
- Fixed a bug with the globals merger that could have arised issues with global variables with initialized values.
- "Compress names" will now automatically use an upper case charmap
- Added tweaks dialog containing the usual things to disable certain methods or to allow some of the formerly known as "non-recommendable" checkboxes.
- Improved size reduction for basic obfuscation on certain specific cases.
4.0 :
- Kind of updates in the readme.
- Added "Inline constant globals" method.
- "Look for other scripts to obfuscate" renamed to "Other scripts opt"
- "Other scripts opt" can now optimize .pld files as well.
- Added option to remove extra .j files found in the map.
- "Make sure to clean every unused function/variable" renamed to "Recursive cleaning"
- No longer has a chance to add 3 utf8 characters at the top of the map's script.
3.9d :
- Improved the loading time of external list files, it will also not freeze the PC when the listfile is really big.
- Fixed various bugs with gamecache function optimization.
3.9c :
- Fixed a bug with Anti BJ that replaced GetAbilityEffectBJ and GetAbilitySoundBJ incorrectly.
- Fixed a bug with remove useless code that had a chance to cause bugs if a typical gamecache
init function was called without using it as an expression but with the call statement
- Removed some '}' debug messages.
- Fixed a graphical glitch.
3.9b :
- Fixed a bug with Safe IsUnitType not working correctly sometimes and making the map fail.
- Fixed a bug with 'Remove editor suffixes' it had a chance to make an ability malfunction If its only modified field was
the editor suffix
- Improved the 3.9 feature of optimizing gamecache functions a little.
- Checked state of 'Not recommended' options will no longer get loaded.
- It will always save a script file with the same name as the target map but will end with .j that will
show the resulting script used by the map. This will save some time to the guys that like to check the
resulting script file after optimizing.
- 'Remove useless code' now removes some dummy order commands generated by the world editor in the preplaced
unit creation area |
|