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

Minor optimization for _.invoke() #928

Merged
merged 1 commit into from
Jan 3, 2013
Merged

Minor optimization for _.invoke() #928

merged 1 commit into from
Jan 3, 2013

Conversation

markstory
Copy link
Contributor

_.isFunction() doesn't need to be called on each iteration in the loop. The result will never change.

_.isFunction() doesn't need to be called on each
iteration in the loop. The result will never change.
braddunbar added a commit that referenced this pull request Jan 3, 2013
Minor optimization for _.invoke()
@braddunbar braddunbar merged commit 2a4f571 into jashkenas:master Jan 3, 2013
@braddunbar
Copy link
Collaborator

Thanks @markstory!

@markstory markstory deleted the invoke-optimize branch January 3, 2013 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants