Hi, So to summarise this thread. - discussing if Boolean be initialised to false and Numbers to NaN - Code can act differently on AS and JS when these initialisers are not present - Josh and I think this a serious bug - Harbs also sees the issue - Piotrz also wants Booleans and Numbers to be initialised - Alex thinks this is an optimisation issue
I’ve went ahead and made the change and checked into a new initialization branch of falcon. Testing with a real world application gave no notable size increase and improved performance by 10% on JS. Mostly I would guess due to use of == and != in the framework and implicit casting that goes on when when comparing uninitialised variables. Thanks, Justin