Skip to content

process origin nodes in parallel? #19

Description

@knaaptime

thanks for this! I finally got around to playing with an example. I noticed that running preprocess doesnt actually destroy the CPU like i thought it might. I wonder if it would make sense to split the origin nodes by n_cpus, then run the dijkstra function on each chunk in parallel using joblib? It might be a little taxing on memory since you'd still need to send all edge weights and destination nodes to each core, but still seems like it could be worth a shot. Curious what you think

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions