ITSLeeds / UK2GTFS

Convert UK transport data (TransXchange / ATOC CIF) to GTFS format in R
https://itsleeds.github.io/UK2GTFS/
GNU General Public License v3.0
37 stars 13 forks source link

performance of split #52

Open oweno-tfwm opened 1 year ago

oweno-tfwm commented 1 year ago

call to split was taking around 60s on full timetable file - longer than the subsequent multi-threaded section. Replacing with a transpose of the dataframe reduces this to 3s or so. The transpose causes the named dataframe to be coerced into a unnamed vector of int, so we have to index into the vector by number, and convert the date coerced into int back into a date.

0001-performance(second).patch