Closed rishabhbhatia closed 6 years ago
Personally, I do not think that there is a performance improvement doing this, just because we are now doing an addition N checks during our condition.
Speed difference is irrelevant on small arrays but as arrays scale, the difference will increase.
Hi Kenny, was practising the questions. Submitting a perf improvement to 1.4, thank you. @kennymkchan