PixelsCommander/FlashJS — Issue #20: Refactor getters/setters and add getPropertyName, setPropertyName
Author: PixelsCommander
Created: 2011-11-02 16:25:05+00:00
State: open

http://jsperf.com/getters-setters-vs-direct

There is idea to remove getters for all variables that support caching and just do this cached variable instead of getter. It would be x100 faster than getter.

Also it`s nice to do getPropertyName, setPropertyName for every getter/setter. It would be 70x faster than using them.