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

Add 'Begin Until' to the loop battle #143

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

styd
Copy link
Contributor

@styd styd commented Feb 3, 2018

Based on my experience, begin...end until is always faster than while loop.
I've also tried the until loop and it's about as fast as the begin...end until, but most of the time begin...end until run slightly faster on my machine.

Copy link
Contributor

@kbrock kbrock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice introduction of a do until type loop that I often want in ruby but assume is only in C

thanks

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.

2 participants