feathersui / feathersui-starling

User interface components for Starling Framework and Adobe AIR
https://feathersui.com/learn/as3-starling/
Other
915 stars 386 forks source link

Strict equality with numeric values causes allocations on iOS #1726

Closed hardcoremore closed 6 years ago

hardcoremore commented 6 years ago

Example:

https://github.com/BowlerHatLLC/feathers/blob/ab92e9ca8a0598626a7e47d8a415d3b8170fffa4/source/feathers/core/ValidationQueue.as#L149

Please change this to use == and != with numeric values because using === and !== to compare them allocates memory on iOS.

Thanks, Caslav