Skip to content

Noop#546

Merged
aearly merged 1 commit intocaolan:masterfrom
Neamar:noop
May 19, 2015
Merged

Noop#546
aearly merged 1 commit intocaolan:masterfrom
Neamar:noop

Conversation

@Neamar
Copy link
Copy Markdown
Contributor

@Neamar Neamar commented Jun 9, 2014

Using one single noop var, we can avoid creating empty function on the fly and gain (some) perf.

This is not much, but since it cost nothing and adheres to common node.js standard, i thought this was worth a little PR.

@aearly
Copy link
Copy Markdown
Collaborator

aearly commented Jun 23, 2014

👍 Pretty simple, clear optimization.

@fritx
Copy link
Copy Markdown
Contributor

fritx commented Jun 24, 2014

👍

@Neamar
Copy link
Copy Markdown
Contributor Author

Neamar commented Feb 13, 2015

(@beaugunderson rebased to work on master)

aearly added a commit that referenced this pull request May 19, 2015
Use single noop function.
@aearly aearly merged commit 199af5c into caolan:master May 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants