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

first or find method #49

Closed
tnguyen14 opened this Issue Dec 26, 2014 · 2 comments

Comments

Projects
None yet
4 participants
@tnguyen14

tnguyen14 commented Dec 26, 2014

Is there a way to find the first match in a collection/ array without iterating through the entire collection? I can currently use filter and then get the first element in the result array. However, this is not very fast for large collections.

@wraithgar

This comment has been minimized.

Show comment
Hide comment
@wraithgar

wraithgar Dec 26, 2014

Member

Not yet #17

Member

wraithgar commented Dec 26, 2014

Not yet #17

@bear bear added the question label Dec 27, 2014

@HenrikJoreteg

This comment has been minimized.

Show comment
Hide comment
@HenrikJoreteg

HenrikJoreteg Jan 5, 2015

Member

closing, as this will be resolved when we merge @wraithgar's PR

Member

HenrikJoreteg commented Jan 5, 2015

closing, as this will be resolved when we merge @wraithgar's PR

@bear bear removed the question label Jan 5, 2015

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