aharui commented on issue #78: Assign to Boolean variable does not convert to 
true or false, breaking loose comparison with ==
URL: https://github.com/apache/royale-compiler/issues/78#issuecomment-461631564
 
 
   I don't see PAYG as an "optimization" like other post-processing 
optimizations.  It is just a way of making decisions to keep the framework as 
small and fast as possible.
   
   If we agree that initializing a boolean will result in 7 or 8 bytes, then 
375 initializations are over 2K.  I can't tell you how often we said in Flex 
that an extra 1K or 2K wouldn't hurt.  But it eventually all added up to 130K 
HelloWorld and 13,000 lines in UIComponent.
   
   My very first comment on this issue recommended having an option as to 
whether to initialize booleans or not.  I seem to recall a discussion on 
another topic where we were going to leave an option on by default but keep it 
off in the framework.  I'm fine with doing that here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to