Skip to content

Parallel processing #111

@im-n1

Description

@im-n1

Hi,

first of all thanks for this crate. I utilized that in my project transpors. One thing that I noticed is loading/parsing GTFS takes a lot of time (~20MB file on my i7 8th gen takes about 30 secs). Thats understandable but I noticed that all the works runs in one thread. I don't know what the core of this crate is but I assume it's a lot of for loops. These can be optimized literally in one lines thanks to rayon.

I did tne same thing in my application and now the walking thru data takes only ~20% of the time it used to take.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions