mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-30 18:24:04 +03:00
61c46461e4
* PERF: lower memory requirements for clip_osm - don't accumulate things unless they are at least partially within the boundary - accumulate id's, not entire objects. This entails doing a second pass of the file, but keeps memory usage much lower. e.g. a largeish area of Los Angeles, covering east hollywood to downtown, clipped thus: - north: San Fernando Blvd - east: LA River east of Downtown - south: the 10 - west: Western ave, Before: importing the above stalled out for me during clipping, which had ballooned into swap at more than 16GB. After: in the above scenario, clipping peaks around 55MB, and the import process as a whole peaks during pathfinding - at around 4.0GB. * fixup! PERF: lower memory requirements for clip_osm Remove unnecessary casting |
||
---|---|---|
.. | ||
config | ||
src | ||
actdev_houses.sh | ||
actdev_scenarios.sh | ||
actdev_site.sh | ||
Cargo.toml |