Skip to content

Enhancements #399

Description

@j1c

This is a list of things that can be changed to substantially improve performance of m2g. Some of it is addressed in #398

  • Im 1000% percent sure below line is tabbed incorrectly. It should be outside the for loop.
    self.g.add_weighted_edges_from(edge_list)

with ~1 million streamlines, it takes ~35 minutes vs 2 minutes with the line outside the for loop.

There is a parallel version in my PR.

  • I think the streamline generation can be parallelized by sending partial seed list to bunch of Track instances.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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