At 4/16/09 07:14 PM, liaaaam wrote: Though I've never bothered using === in any circumstance. I'm sure there's some perfectly reasonable uses, and it's probably quite a bit faster than == (since there's no type check / conversion).. but since I know my types are gonna be the same and I'm not really bothered about that tiny performance increase.. I don't bother.
I never thought about the type conversion... I generally make damn sure everything's explicity cast as the data type it's supposed to be. It could go the other way, if Flash is doing an additional check to ensure that something is the correct type rather than just true equivalent / false equivalent.
Has anyone done speed checks on == and ===?