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

Too slow :( #7

Open
komputerrowerowy opened this issue Feb 18, 2017 · 1 comment
Open

Too slow :( #7

komputerrowerowy opened this issue Feb 18, 2017 · 1 comment

Comments

@komputerrowerowy
Copy link

Hi,
I am writting simple app and I have to use some routing. I saw that route is calculate very slow (road around 5km/3miles in 40sec). Do you know what is a reason? How can I improve it?

@micahcochran
Copy link

This is some pretty old code. Here's some general ideas.

  1. Since this code is old, there might be performance improvements that Python 3.x has over 2.x. I'd suggest profiling the code.

  2. I suspect that the XML parser is going to be the performance issue. You might be able to get better performance by switching XML parsers, but it could be quite a bit of work. A different parser might make it harder to install this, so that can be a trade-off.

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

No branches or pull requests

2 participants