Holiday in the US today. I'll reply in detail later. A few quick comments in-line...
On 4/15/17, 10:53 PM, "Justin Mclean" <jus...@classsoftware.com> wrote: >Hi, > >So just for giggles I implemented this as has recommended. > >The PAYG cost ends up being the following if you use it: >- The loading cost for JS is an extra file in debug / 50+ lines of >compiled code. Runtime cost in JS is two events dispatched and 50+ extra >lines of code needed to be run. I looked at your code. There seems to be some logic issues and your version is probably the most elaborate. Simpler ones should have lower cost. Take another look and see if you can see it. Maybe others can see it as well. >- 4 extra lines of code in AS version. The run time cost for AS is two >events dispatched. IMO, this cost is amortized and the final net cost for both platforms will be <= 0. I'll explain more later. -Alex