Uh oh!
There was an error while loading. Please reload this page.
buffer: faster type check - #54088
Merged
Merged
Conversation
ronag
commented
Jul 28, 2024
MemberAuthor
@nodejs/performance @nodejs/buffer |
anonrig
approved these changes
Jul 28, 2024
nodejs-github-bot
commented
Jul 29, 2024
Collaborator
nodejs-github-bot
commented
Jul 29, 2024
Collaborator
nodejs-github-bot
commented
Jul 29, 2024
Collaborator
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #54088 +/- ##
=======================================
Coverage 87.06% 87.07% =======================================
Files 643 643 Lines 181581 181582 +1 Branches 34888 34886 -2 =======================================
+ Hits 158097 158107 +10 + Misses 16766 16758 -8 + Partials 6718 6717 -1
|
jasnell
approved these changes
Jul 29, 2024
tniessen
commented
Jul 29, 2024
Member
The commit message has to be amended to comply with our guidelines (prefix: imperative verb) before this can land :) |
tniessen
commented
Jul 29, 2024
Member
Is this semver-minor since it changes the public API? In any case, I think it makes sense to document the change in behavior. I assume the right place is to add a Lines 1711 to 1715 in 269175b |
benjamingr
approved these changes
Jul 29, 2024
nodejs-github-bot
commented
Aug 2, 2024
Collaborator
nodejs-github-bot
commented
Aug 2, 2024
Collaborator
Commit Queue failed- Loading data for nodejs/node/pull/54088 ✔ Done loading data for nodejs/node/pull/54088 ----------------------------------- PR info ------------------------------------ Title buffer: faster type check (#54088) Author Robert Nagy <ronagy@icloud.com> (@ronag) Branch ronag:buffer.copy-check -> nodejs:main Labels buffer, author ready, needs-ci Commits 1 - buffer: faster type check Committers 1 - Robert Nagy <ronagy@icloud.com> PR-URL: https://github.com/nodejs/node/pull/54088 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/54088 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> -------------------------------------------------------------------------------- ℹ This PR was created on Sun, 28 Jul 2024 22:18:55 GMT ✔ Approvals: 4 ✔ - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/54088#pullrequestreview-2210972720 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/54088#pullrequestreview-2204005543 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/54088#pullrequestreview-2205608335 ✔ - Benjamin Gruenbaum (@benjamingr) (TSC): https://github.com/nodejs/node/pull/54088#pullrequestreview-2206203933 ⚠ This PR has conflicts that must be resolved ✔ Last GitHub CI successful ℹ Last Full PR CI on 2024-08-02T05:56:32Z: https://ci.nodejs.org/job/node-test-pull-request/60820/ - Querying data for job/node-test-pull-request/60820/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/10213732908 |
Also add support for any TypedArray as target. PR-URL: nodejs#54088
anonrig
approved these changes
Aug 2, 2024
nodejs-github-bot
commented
Aug 3, 2024
Collaborator
nodejs-github-bot
commented
Aug 3, 2024
Collaborator
nodejs-github-bot
commented
Aug 3, 2024
Collaborator
nodejs-github-bot
commented
Aug 3, 2024
Collaborator
Landed in acbd0be |
targos pushed a commit
that referenced
this pull request
Aug 14, 2024
Also add support for any TypedArray as target. PR-URL: #54088 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Merged
Member
This was clearly a semver-minor change > Buffer.of(1,2,3,4).copy(x=new Uint16Array(4));xUint16Array(4) [ 513, 1027, 0, 0 ]Do we have a test for that so it won't regress causing an unnoticed breaking change? |
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 freeto 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.
Also add support for any TypedArray as target.