Skip to content

Sort graph edges #1756

Closed
Closed

Description

@msbarry

Currently graph.do_sort: true only sorts the nodes of a graph, but in GHUtility.createSortedGraph it is also possible to sort graph edges. I use MMAP storage so implemented this thinking that sorting edges would batch disk reads closer together and reduce page faults when checking edges in the location index, getting edge details for the route, etc. I did get a performance boost and reduction in average page faults per request and will post a PR shortly.

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