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 2017/11/01 23:23:25 UTC

[GitHub] Harbs commented on issue #54: Date chooser performance

Harbs commented on issue #54: Date chooser performance
URL: https://github.com/apache/royale-asjs/pull/54#issuecomment-341272592
 
 
   It turns out that there was no need for three loops at all.
   
   It looks like someone had started optimizing this class by initializing the array with a length of 42. That makes the first and last loop unnecessary.
   
   I simplified the middle loop into a simple while loop. There was no need for two conditions.

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


With regards,
Apache Git Services