Skip to content
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

buffer: use for...of #30962

Closed
wants to merge 1 commit into from
Closed

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Dec 14, 2019

Searched for regular expression for \([^\.]*.length in lib and made changes in buffer.js

Refs: #30910 (comment)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the buffer Issues and PRs related to the buffer subsystem. label Dec 14, 2019
@cjihrig
Copy link
Contributor

cjihrig commented Dec 14, 2019

Can you consolidate these PRs? All of the separate PRs makes for a lot of noise.

@trivikr
Copy link
Member Author

trivikr commented Dec 14, 2019

Can you consolidate these PRs?

I've posted PRs specific to submodules - buffer, stream, http, tls

A single PR might get blocked/delayed/might not land in old versions/etc because of changes specific to any of the submodules.
For example, for...of in stream won't be landing on 10.x #30960 (review)

@cjihrig
Copy link
Contributor

cjihrig commented Dec 14, 2019

You could use separate commits in a single PR.

@nodejs-github-bot
Copy link
Collaborator

@SimonSchick
Copy link
Contributor

Would be curious to know how much affects concat performance.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

I think we should keep this as-is.

@trivikr trivikr closed this Dec 15, 2019
@trivikr trivikr deleted the use-for-of-buffer branch December 15, 2019 20:51
@trivikr trivikr mentioned this pull request Dec 24, 2019
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
buffer Issues and PRs related to the buffer subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants