Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upfirst or find method #49
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Not yet #17 |
bear
added
the
question
label
Dec 27, 2014
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
closing, as this will be resolved when we merge @wraithgar's PR |
HenrikJoreteg
closed this
Jan 5, 2015
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
tnguyen14 commentedDec 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
filterand then get the first element in the result array. However, this is not very fast for large collections.