FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

src: implement v8 array iteration using the new callback-based API by joyeecheung · Pull Request #51758 · nodejs/node · GitHub

/ node Public

src: implement v8 array iteration using the new callback-based API - #51758

Closed
joyeecheung wants to merge 3 commits into
nodejs:mainfrom
joyeecheung:array-iteration
Closed

src: implement v8 array iteration using the new callback-based API#51758
joyeecheung wants to merge 3 commits into
nodejs:mainfrom
joyeecheung:array-iteration

Conversation

Copy link
Copy Markdown
Member

src: implement v8 array iteration using the new callback-based API

Using this to iterate over an array can be faster than calling
Array::Get repeatedly. Local experiment shows that this is faster
once the array size is bigger than 2.

src: use callback-based array iteration in Blob

Using this to iterate over an array can be faster than calling
Array::Get repeatedly. Local experiment shows that this is faster
once the array size is bigger than 2.
nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Feb 14, 2024
Comment thread src/util.h Outdated
joyeecheung added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 17, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 17, 2024

Copy link
Copy Markdown
Collaborator

Comment thread src/util-inl.h

Copy link
Copy Markdown
Collaborator

Comment thread src/util-inl.h

Copy link
Copy Markdown
Collaborator

joyeecheung added a commit that referenced this pull request Feb 22, 2024
Using this to iterate over an array can be faster than calling
Array::Get repeatedly. Local experiment shows that this is faster
once the array size is bigger than 2.

PR-URL: #51758
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
joyeecheung added a commit that referenced this pull request Feb 22, 2024
PR-URL: #51758
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>

Copy link
Copy Markdown
Member Author

Landed in d51a74a...1a8ae9d

marco-ippolito commented Feb 26, 2024
edited
Loading

Copy link
Copy Markdown
Member

@joyeecheung can you backport on 21 please, it seems to fail compilation https://github.com/nodejs/node/actions/runs/8049258088/job/21982250897

targos commented Mar 1, 2024

Copy link
Copy Markdown
Member

This can't be backported as it relies on V8 API that doesn't exist on v21.x

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

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL