aharui commented on issue #641: Fix PAYG violations and code debt
URL: https://github.com/apache/royale-asjs/issues/641#issuecomment-569721334
 
 
   Regarding @export.  I do not think it is as expensive as you claim.  If you 
have:
   ```
   org.apache.royale.html.Basic.prototype.foo = function() {trace('foo')}
   org.apache.royale.html.Basic.prototype.bar = function() {trace('bar')}
   ```
   I'm pretty sure in js-release it looks something like:
   ```
   zz = {trace('foo')};
   bb = {trace('bar')};
   export([a,b,c,d,e,f,'foo',zz);
   export([a,b,c,d,e,f,'bar',bb);
   ```
   And in many cases method bodies totally outweigh that code.  Strings are put 
in a table and the exports use an array of string references.

----------------------------------------------------------------
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