-
Notifications
You must be signed in to change notification settings - Fork 15
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
Panda level submission #12
base: master
Are you sure you want to change the base?
Conversation
this is a great panda level submission. Yay! 🎉 |
@jwo I updated this with tiger and eagle. It was a fun one. I feel like I'm getting more comfortable with identifying a cleaner interface at the top. The refactoring of the route class was a good challenge. Just a note on the benchmarking, I updated the config file in my geocoder gem to allow for more time. the default timeout is 3 seconds: |
remaining_points = points | ||
route = [] | ||
route << remaining_points.slice!(0) | ||
until remaining_points == [] do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally a prefence, but I like
while remaining_points.any? do
end
…culate with a while do end loop
@jwo one more check please. |
This looks most excellent 🎉 👍 |
No description provided.