-
Notifications
You must be signed in to change notification settings - Fork 12
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
Additional Convenience methods? #5
Comments
As per your README, you're providing Array.prototype fast alternative. Goal changed? |
Not sure if I understand what you mean? I'm still doing prototype methods. But I also have some additional "helper" methods. For now, I have |
Ah Ok. Some high performance helpers out of the box is great for DX |
Yeah, I think so! Primary focus is on the prototype methods, but some extras won't hurt 😉 Disclosure: Not sure if you saw, but most of these methods are only faster than native on Node 6 and below. I'm waiting until I return to my main machine before releasing official metrics. |
Yes, I saw the bench and your mentions. I always bench everything before introducing it to my application. For instance: map is actually faster on Node 8 |
Yup! That's fine with me too. Would much rather rely on natives, but not ideal for browsers and older node versions. |
pluck would be nice. |
Object pluck? I was planning on doing a similar set of modules for objects methods. Can't remember if I have the npm org already |
Look thru other collections, see if there are methods that can be greatly improved... perhaps
pluck
?Would be adding to existing convenience methods:
unique
,flatten
The text was updated successfully, but these errors were encountered: