The Wayback Machine - https://web.archive.org/web/20201113164710/https://github.com/dabreegster/abstreet/issues/270
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

Starter project: Optimize map importer #270

Open
dabreegster opened this issue Aug 12, 2020 · 0 comments
Open

Starter project: Optimize map importer #270

dabreegster opened this issue Aug 12, 2020 · 0 comments

Comments

@dabreegster
Copy link
Owner

@dabreegster dabreegster commented Aug 12, 2020

Importing all of London,

timer.start_iter("generate parking lot spots", results.len());
took 40 seconds. It's easy to use timer.parallelize to speed this up. Running the importer on large areas, checking the logs for the slowest steps, and applying simple fixes like parallelize and FindClosest is a great way to learn a bit about the map importing process.
dabreegster added a commit that referenced this issue Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.