You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/05/05 06:32:52 UTC

[GitHub] [royale-asjs] aharui commented on issue #384: Cannot find Vector. methods

aharui commented on issue #384: Cannot find Vector.<T> methods
URL: https://github.com/apache/royale-asjs/issues/384#issuecomment-489395412
 
 
   IMO, a single Vector implementation is not PAYG.  If I just need one 4 element Vector<uint>, how much code is that going to cost me?
   
   Ideally, the compiler would output the correct set of information the implementation needs, and different implementations could optimize as needed.  I think that's how E4X is proposed in the ECMA spec and implemented in Royale.  Various E4X syntax in AS ends up as low-level calls to the E4X implementation.  I am hoping we can do something similar for Vector.
   
   Some Vector implementation like the one you are working on can be the default, but there should be a way to get cheaper implementations if you need them.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services