-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
src: simplify string_bytes with views #54876
src: simplify string_bytes with views #54876
Conversation
Failed to start CI⚠ No approving reviews found ℹ request-ci label was added by a Collaborator after the last push event. - Validating Jenkins credentials ✔ Jenkins credentials valid - Starting PR CI job ✘ Failed to start PR CI: 400 Bad Requesthttps://github.com/nodejs/node/actions/runs/10796091540 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #54876 +/- ##
==========================================
+ Coverage 87.89% 87.90% +0.01%
==========================================
Files 651 651
Lines 183364 183345 -19
Branches 35714 35711 -3
==========================================
+ Hits 161171 161177 +6
+ Misses 15465 15447 -18
+ Partials 6728 6721 -7
|
Commit Queue failed- Loading data for nodejs/node/pull/54876 ✔ Done loading data for nodejs/node/pull/54876 ----------------------------------- PR info ------------------------------------ Title src: simplify string_bytes with views (#54876) Author Daniel Lemire <[email protected]> (@lemire) Branch lemire:simplify_string_bytes_with_views -> nodejs:main Labels buffer, c++, author ready, needs-ci Commits 2 - src: simplify string_bytes with views - restore comment Committers 1 - Daniel Lemire <[email protected]> PR-URL: https://github.com/nodejs/node/pull/54876 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/54876 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> -------------------------------------------------------------------------------- ℹ This PR was created on Tue, 10 Sep 2024 15:47:07 GMT ✔ Approvals: 3 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/54876#pullrequestreview-2292998616 ✔ - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/54876#pullrequestreview-2293295906 ✔ - Minwoo Jung (@JungMinu): https://github.com/nodejs/node/pull/54876#pullrequestreview-2295625995 ⚠ GitHub cannot link the author of 'src: simplify string_bytes with views' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'restore comment' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ✔ Last GitHub CI successful ℹ Last Full PR CI on 2024-09-10T18:00:21Z: https://ci.nodejs.org/job/node-test-pull-request/62285/ - Querying data for job/node-test-pull-request/62285/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 54876 From https://github.com/nodejs/node * branch refs/pull/54876/merge -> FETCH_HEAD ✔ Fetched commits as e60caeebdab8..7336a55561ad -------------------------------------------------------------------------------- [main 52405663d8] src: simplify string_bytes with views Author: Daniel Lemire <[email protected]> Date: Tue Sep 10 11:00:08 2024 -0400 1 file changed, 27 insertions(+), 58 deletions(-) [main 9a2cd1534d] restore comment Author: Daniel Lemire <[email protected]> Date: Tue Sep 10 11:06:02 2024 -0400 1 file changed, 1 insertion(+), 1 deletion(-) ✔ Patches applied There are 2 commits in the PR. Attempting autorebase. Rebasing (2/4)https://github.com/nodejs/node/actions/runs/10834390869 |
@lemire your git config doesn't include your github email address causing the commit-queue to fail. can you update your git config and rebase and force push to this branch? |
Landed in 9f5977f |
@anonrig Somehow it landed!!! ❤️ |
It would not have been possible without @LeszekSwirski. |
PR-URL: #54876 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
It needs a manual backport to v22.x-staging. See #54966 (comment). |
PR-URL: nodejs#54876 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
PR-URL: nodejs#54876 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
This PR adopts the new string views for latin1/base64/hex encoding/decoding. It should avoid unnecessary copies when the string is not external.
Compared to node 22: