abstreet/sim/src
Dustin Carlino 0eda6307cd Defer creating TripSpec until the trip actually starts. #258
This speeds up scenario instantiation (because picking a bus to use can
be spread out over time) and is a step towards simplifying the spawning
code. Starting downtown goes from 12.8s to 2.2s.

All vehicles spawning at a border now regress to using the 1st valid
lane, instead of random. Now that the choice is made when the trip
starts, this could later be improved to pick the least loaded lane.

Now regenerate everything.
2021-01-10 18:55:38 -08:00
..
bin Track some very basic stats on how many events we're processing. #368 2020-10-19 19:12:19 -05:00
make Defer creating TripSpec until the trip actually starts. #258 2021-01-10 18:55:38 -08:00
mechanics Clean up and categorize overrides for allowing vehicles to block-the-box at hardcoded intersections. 2021-01-07 14:24:48 -08:00
pandemic Switch all error handling to anyhow. Nothing consumes our code as a 2021-01-05 11:35:03 -08:00
sim Defer creating TripSpec until the trip actually starts. #258 2021-01-10 18:55:38 -08:00
analytics.rs Simplify TripPhase now that PathRequest is embedded in the Path 2020-12-16 13:02:59 -08:00
cap.rs Refactor: Store the input PathRequest inside the resulting Path. This 2020-12-16 12:55:57 -08:00
events.rs Plumb the intended TripMode for cancelled trips; instead make the trip duration optional. Breaking change for anyone using the API. Makes way more sense. [rebuild] [release] 2020-11-22 11:21:44 -08:00
lib.rs Defer creating TripSpec until the trip actually starts. #258 2021-01-10 18:55:38 -08:00
recorder.rs Reduce visibility of some sim crate stuff. #258 2020-11-19 14:53:27 -08:00
render.rs Build a quadtree of unzoomed agents while drawing, to later speedup mouseover. This seems to make performance fine in debug mode, so get rid of the flag guarding of this feature! [rebuild] 2020-10-20 11:38:38 -07:00
router.rs Simplify CreateCar, using the PathRequest embedded in the router's Path 2020-12-16 13:23:33 -08:00
scheduler.rs Defer creating TripSpec until the trip actually starts. #258 2021-01-10 18:55:38 -08:00
transit.rs Simplify CreateCar, using the PathRequest embedded in the router's Path 2020-12-16 13:23:33 -08:00
trips.rs Defer creating TripSpec until the trip actually starts. #258 2021-01-10 18:55:38 -08:00