Skip to content

stream: use bit fields for construct/destroy - #50408

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
nxtedition:bitmap-constructor-destroy
Oct 28, 2023
Merged

stream: use bit fields for construct/destroy#50408
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
nxtedition:bitmap-constructor-destroy

Conversation

@ronag

Copy link
Copy Markdown
Member

No description provided.

@ronag
ronag requested a review from rluvatonOctober 26, 2023 13:47
@nodejs-github-bot

nodejs-github-bot commented Oct 26, 2023

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/streams

@nodejs-github-botnodejs-github-bot added the needs-ci PRs that need a full CI run. label Oct 26, 2023
@ronag

Copy link
Copy Markdown
MemberAuthor

@ronag
ronagforce-pushed the bitmap-constructor-destroy branch from 6a5c0d6 to 3bf4eafCompareOctober 26, 2023 13:47
@ronag
ronagforce-pushed the bitmap-constructor-destroy branch from 3bf4eaf to 02e3f43CompareOctober 26, 2023 14:00
@ronag
ronagforce-pushed the bitmap-constructor-destroy branch from 02e3f43 to 74712a7CompareOctober 26, 2023 14:02

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ronagronag added request-ci Add this label to start a Jenkins CI on a PR. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Oct 26, 2023
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 26, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Comment threadlib/internal/streams/utils.js Outdated
Comment on lines 26 to 34

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can we enforce that readable/writable stream will not have a bit state with the same position?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure. Suggestions?

Comment threadlib/internal/streams/destroy.js Outdated
@ronag
ronagforce-pushed the bitmap-constructor-destroy branch from 74712a7 to 763eaa1CompareOctober 26, 2023 14:52
@ronag
ronagforce-pushed the bitmap-constructor-destroy branch from 763eaa1 to cea0fb4CompareOctober 27, 2023 07:00
@ronagronag added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 27, 2023
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 27, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@anonrig

Copy link
Copy Markdown
Member

@ronag If the motivation of this change is performance, can you share the benchmarks?

@ronag

Copy link
Copy Markdown
MemberAuthor

There is a CI benchmark

@ronagronag added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 27, 2023
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 28, 2023
@nodejs-github-bot
nodejs-github-bot merged commit 4c3dde9 into nodejs:mainOct 28, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 4c3dde9

targos pushed a commit that referenced this pull request Nov 11, 2023
PR-URL: #50408
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
@targostargos mentioned this pull request Nov 12, 2023
UlisesGascon pushed a commit that referenced this pull request Dec 11, 2023
PR-URL: #50408
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
@UlisesGasconUlisesGascon mentioned this pull request Dec 12, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@ronag@nodejs-github-bot@anonrig@mcollina@benjamingr@rluvaton