Skip to content

Fix route sorting on creation

Chris Emmerich requested to merge fix-route-sorting-on-creation into main

Large routes initialization costed a lot of time, because values are set point by point and the route was sorted after every "set item" and therefor an instance check was carried out repeatedly at every point in route. The following picture shows a timing analysis before this fix, highlighting the two time drains.

route_init_timings

Merge request reports