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

Panda level submission #12

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

jperezish
Copy link

No description provided.

@jwo
Copy link
Member

jwo commented Feb 11, 2014

this is a great panda level submission. Yay! 🎉

@jperezish
Copy link
Author

@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:
https://github.com/alexreisner/geocoder/blob/master/lib/geocoder/configuration.rb#L88

remaining_points = points
route = []
route << remaining_points.slice!(0)
until remaining_points == [] do
Copy link
Member

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

@jperezish
Copy link
Author

@jwo one more check please.

@jwo
Copy link
Member

jwo commented Feb 14, 2014

This looks most excellent 🎉 👍

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