rust-transit / gtfs-structure

Read a GTFS file
MIT License
61 stars 32 forks source link

Limit the number of shrink to fit #146

Closed antoine-de closed 1 year ago

antoine-de commented 1 year ago

This is not very important, but it seems a waste to do it for each stop time. This reduce a bit the loading time, but not in a really important way (tested on the Ile de france mobilité dataset).

antoine-de commented 1 year ago

not really a measurable improvement, I gained 1s over 16 between the best of 3 runs, but there was 5s discrepancy between the runs of the same version with the same dataset...