Skip to content

timers: optimize callback call with arguments: bind -> arrow - #4038

Closed
bsnote wants to merge 1 commit into
nodejs:masterfrom
bsnote:timers-bind-to-arrow
Closed

timers: optimize callback call with arguments: bind -> arrow#4038
bsnote wants to merge 1 commit into
nodejs:masterfrom
bsnote:timers-bind-to-arrow

Conversation

@bsnote

@bsnote bsnote commented Nov 26, 2015

Copy link
Copy Markdown
Contributor

ES6 arrow functions are much more efficient than .bind() functions.

http://jsperf.com/bind-vs-arrow-function-call

ES6 arrow functions are much more efficient than `.bind()` functions.
@Fishrock123 Fishrock123 added the timers Issues and PRs related to timers, setImmediate(), setInterval(), and setTimeout(). label Nov 26, 2015
@Trott

Trott commented Nov 26, 2015

Copy link
Copy Markdown
Member

@Fishrock123

Copy link
Copy Markdown
Contributor

LGTM

Fishrock123 pushed a commit that referenced this pull request Dec 2, 2015
ES6 arrow functions are much more efficient than `.bind()` functions.

PR-URL: #4038
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
@Fishrock123

Copy link
Copy Markdown
Contributor

Thanks, landed in fbcd687

@Fishrock123 Fishrock123 closed this Dec 2, 2015
rvagg pushed a commit that referenced this pull request Dec 5, 2015
ES6 arrow functions are much more efficient than `.bind()` functions.

PR-URL: #4038
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
@rvagg rvagg mentioned this pull request Dec 17, 2015
MylesBorins pushed a commit that referenced this pull request Dec 29, 2015
ES6 arrow functions are much more efficient than `.bind()` functions.

PR-URL: #4038
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
ES6 arrow functions are much more efficient than `.bind()` functions.

PR-URL: #4038
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
@MylesBorins MylesBorins mentioned this pull request Jan 19, 2016
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
ES6 arrow functions are much more efficient than `.bind()` functions.

PR-URL: nodejs#4038
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

timers Issues and PRs related to timers, setImmediate(), setInterval(), and setTimeout().

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants