Skip to content

buffer: refactor create buffer - #4340

Closed
JacksonTian wants to merge 1 commit into
nodejs:masterfrom
JacksonTian:create_buffer
Closed

buffer: refactor create buffer#4340
JacksonTian wants to merge 1 commit into
nodejs:masterfrom
JacksonTian:create_buffer

Conversation

@JacksonTian

Copy link
Copy Markdown
Contributor

Use createBuffer to reduce new Uint8Array()
and setPrototypeOf.

Use createBuffer to reduce new Uint8Array()
and setPrototypeOf.
@mscdexmscdex added the buffer Issues and PRs related to the buffer subsystem. label Dec 18, 2015
@Fishrock123

Copy link
Copy Markdown
Contributor

R=@trevnorris

@bnoordhuis

Copy link
Copy Markdown
Member

LGTM, seems like an uncontroversial change to me. CI: https://ci.nodejs.org/job/node-test-pull-request/1027/

@JacksonTian

Copy link
Copy Markdown
ContributorAuthor

Thanks @bnoordhuis , seems like two unrelated test cases failed.

@targos

Copy link
Copy Markdown
Member

LGTM

1 similar comment
@ChALkeR

Copy link
Copy Markdown
Member

LGTM

@trevnorris

Copy link
Copy Markdown
Contributor

Benchmarks look good. LGTM

jasnell pushed a commit that referenced this pull request Dec 24, 2015
Use createBuffer to reduce new Uint8Array()
and setPrototypeOf.
PR-URL: #4340
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@jasnell

Copy link
Copy Markdown
Member

Landed in 26a8297

@jasnelljasnell closed this Dec 24, 2015
@JacksonTian
JacksonTian deleted the create_buffer branch December 24, 2015 02:28
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Jan 6, 2016
Use createBuffer to reduce new Uint8Array()
and setPrototypeOf.
PR-URL: nodejs#4340
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
MylesBorins pushed a commit that referenced this pull request Jan 13, 2016
Use createBuffer to reduce new Uint8Array()
and setPrototypeOf.
PR-URL: #4340
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
Use createBuffer to reduce new Uint8Array()
and setPrototypeOf.
PR-URL: #4340
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@MylesBorinsMylesBorins mentioned this pull request Jan 19, 2016
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
Use createBuffer to reduce new Uint8Array()
and setPrototypeOf.
PR-URL: nodejs#4340
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bufferIssues and PRs related to the buffer subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@JacksonTian@Fishrock123@bnoordhuis@targos@ChALkeR@trevnorris@jasnell@mscdex@MylesBorins