-
-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
based stringoptimizer on treeutil.ensureClosureWrapper
- stringoptimizer and globalsoptimizer now play well together, sharing a single closure wrapper for their purposes - also tentatively disabled stringoptimizer.check(), which blocked string optimization in certain occurrences, but seemed superfluous - shuffled around with <file> and <statements> wrappers around trees - some reorg in ensureClosureWrapper - tentatively removed nulling childNode.parent in tree.removeChild; this seems somewhat treacherous, because if you e.g. addChild() some existing nodes to some other, and then call removeAllChildren() on the previous parent, the children that have been added to the other node (and had their .parent been updated to the new parent), will get a .parent=None, effectively breaking the link to their new parent
- Loading branch information
Showing
4 changed files
with
47 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters