Skip to content

Conversation

@megawac
Copy link
Contributor

@megawac megawac commented Oct 3, 2019

I have a use case that involves building many smallish sorted arrays so I'm using sortedIndexBy as part of an insertion sort logic. As empty arrays are a common condition for me, I figured I should reach out and see if we could get them short circuited. Cheers.

@jsf-clabot
Copy link

jsf-clabot commented Oct 3, 2019

CLA assistant check
All committers have signed the CLA.

@megawac megawac force-pushed the short-circuit-sorted-index branch from 8c65c32 to 9b659d8 Compare October 3, 2019 20:04
@jdalton
Copy link
Member

jdalton commented Oct 3, 2019

Thanks @megawac!

You may also want to open this against the 4.17.15-post tag so that it will get into the next minor/patch release.

@jdalton jdalton merged commit 23286d6 into lodash:master Oct 3, 2019
@megawac
Copy link
Contributor Author

megawac commented Oct 3, 2019

Sounds good

@megawac megawac deleted the short-circuit-sorted-index branch October 3, 2019 21:17
@jdalton jdalton added issue bankruptcy Closing the issue/PR to start fresh and removed issue bankruptcy Closing the issue/PR to start fresh labels Sep 16, 2023
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.

3 participants