buffer: use slightly faster NaN check#12286
Merged
mscdex merged 1 commit intonodejs:masterfrom Apr 14, 2017
Merged
Conversation
TimothyGu
approved these changes
Apr 8, 2017
lpinca
approved these changes
Apr 8, 2017
cjihrig
approved these changes
Apr 8, 2017
aqrln
reviewed
Apr 8, 2017
Contributor
There was a problem hiding this comment.
Nit: inconsistent var and const usage. I suppose it was copied from benchmark/buffers/buffer-indexof.js.
jasnell
approved these changes
Apr 11, 2017
8d08d6e to
ab5b9ee
Compare
ab5b9ee to
667ea63
Compare
Contributor
Author
|
One last CI before landing: https://ci.nodejs.org/job/node-test-pull-request/7411/ |
PR-URL: nodejs#12286 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
4 tasks
667ea63 to
e0f0f26
Compare
evanlucas
pushed a commit
that referenced
this pull request
Apr 25, 2017
PR-URL: #12286 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Merged
evanlucas
pushed a commit
that referenced
this pull request
May 1, 2017
PR-URL: #12286 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
evanlucas
pushed a commit
that referenced
this pull request
May 2, 2017
PR-URL: #12286 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Member
|
@mscdex should this be backported to v6.x? |
Contributor
Author
|
@gibfahn I'm pretty sure it's applicable performance-wise (even back to the v0.10 days) from what I remember. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Performance results:
CI: https://ci.nodejs.org/job/node-test-pull-request/7287/
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)