Harbs commented on issue #641: Fix PAYG violations and code debt
URL: https://github.com/apache/royale-asjs/issues/641#issuecomment-570801413
 
 
   > Regarding size: Did you have any embeds in the SWFs?
   
   Yes, but the total of images in the image folder in my app is 671 KB. The 
vast majority of those are never even downloaded.
   
   > I am hopeful that PAYG helped. You are not carrying nearly as much unused 
code in the Royale version. The Flex version probably had lots of never-used 
ActionScript byte-code that doesn't compress nearly as well as minified and 
gzipped text.
   
   I'm confident that this is the case. 😄 
   
   > I'm not sure why you think modules will degrade downloading.
   
   I'm very confident that getting rid of `@export`s will drastically reduce 
code size. I don't think avoiding the `@export`s will be possible for modules 
(especially if they are compiled separately), so there will likely be a 
trade-off. If the rationale for modules is reducing code download, I'm not sure 
that argument will be very compelling. We'll know more once we make progress on 
`@export` work.
   
   > But also, modules provide separate compilation, especially important for 
distributed teams, but also really large apps. Consider a forms manager. 
Changing one form should not require recompiling all of the forms.
   
   Maybe. I don't have experience with that kind of workflow, so I have no 
intelligent response to that.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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