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

Noop #546

Merged
merged 1 commit into from
May 19, 2015
Merged

Noop #546

merged 1 commit into from
May 19, 2015

Conversation

Neamar
Copy link
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
Collaborator

aearly commented Jun 23, 2014

👍 Pretty simple, clear optimization.

@fritx
Copy link
Contributor

fritx commented Jun 24, 2014

👍

@Neamar
Copy link
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.

None yet

3 participants