GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing github.com — buffer: optimize byteLength for short strings by ronag · Pull Request #54345 · nodejs/node Conversation
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
55227cf to
6506c2a
Compare
|
@lemire couldn't utf8_length_from_latin1 do this? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/1602/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@ ## main #54345 +/- ## ========================================== - Coverage 87.09% 87.09% -0.01% ========================================== Files 647 648 +1 Lines 181816 182234 +418 Branches 34884 34964 +80 ========================================== + Hits 158360 158717 +357 - Misses 16764 16791 +27 - Partials 6692 6726 +34
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Fair question. Please see simdutf/simdutf#499 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Long term, it could pay to make simdutf faster in these cases, because we have the runtime dispatching in place. But this PR, as is, should be fine. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
6506c2a to
a608ae1
Compare
a608ae1 to
110e88b
Compare
110e88b to
b97e1f1
Compare
b97e1f1 to
0fedfdb
Compare
0fedfdb to
1d66f25
Compare
1d66f25 to
6e3ab46
Compare
|
https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/1604/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
a9325a3 to
dc6d0a4
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Is this really improving the performance? I am surprised that unrolling the loop is beneficial compared to just the lines right afterwards. I would expect the compiler to optimize things like that.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I just took from simdutf @lemire wdyt?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
✅ CI: https://ci.nodejs.org/job/node-test-pull-request/61094/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
dc6d0a4 to
e204e9e
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
✅ CI: https://ci.nodejs.org/job/node-test-pull-request/61102/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in 75d25bc |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #54345 Reviewed-By: Daniel Lemire <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
PR-URL: #54345 Reviewed-By: Daniel Lemire <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.