Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLEANUP] Don't cache length in for loops #4015

Merged
merged 1 commit into from
Dec 21, 2015

Conversation

topaxi
Copy link
Contributor

@topaxi topaxi commented Dec 18, 2015

Caching length of arrays in for loops isn't necessary and don't bring any (perf) benefits.

Also mentioned here by stef:
#3988 (comment)
https://github.com/emberjs/data/pull/3988/files#r47439430

fivetanley added a commit that referenced this pull request Dec 21, 2015
[CLEANUP] Don't cache length in for loops
@fivetanley fivetanley merged commit 95b201c into emberjs:master Dec 21, 2015
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.

None yet

2 participants