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

yield vs block.call misleading #68

Merged
merged 1 commit into from Oct 7, 2015
Merged

yield vs block.call misleading #68

merged 1 commit into from Oct 7, 2015

Conversation

schmurfy
Copy link
Contributor

What is slower is to bind the block to a variable, not calling it, just try my version and you will see that slow and slow4 are both 4.x slower than yield alone.

@JuanitoFatas
Copy link
Contributor

Could you also update the README.md? Thanks!

@schmurfy
Copy link
Contributor Author

schmurfy commented Oct 5, 2015

sure, I will add it today.

What is slower is to bind the block to a variable, not calling it, just try my version and you will see that slow and slow4 are both 4.x slower than yield alone.
@schmurfy
Copy link
Contributor Author

schmurfy commented Oct 5, 2015

done.

JuanitoFatas added a commit that referenced this pull request Oct 7, 2015
yield vs block.call misleading
@JuanitoFatas JuanitoFatas merged commit a55d178 into fastruby:master Oct 7, 2015
@JuanitoFatas
Copy link
Contributor

@schmurfy Sorry it took so long. Thank you!!!

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

2 participants