Skip to content

Conversation

rishabhbhatia
Copy link

Hi Kenny, was practising the questions. Submitting a perf improvement to 1.4, thank you. @kennymkchan

@kennymkchan
Copy link
Owner

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.

screen shot 2018-07-31 at 1 06 01 am

Speed difference is irrelevant on small arrays but as arrays scale, the difference will increase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants