Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance improvements and bugfix to Tarjan's algorithm #32

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Oct 31, 2021

  1. Performance improvements and bugfix to Tarjan's algorithm

    This is the same as PR sbromberger/LightGraphs.jl#1559  in the old lightgraphs repository.
    
    From substantial benchmarking, this is a significant speedup in most cases and an asymptotic improvement from quadratic to linear for star graphs, with a performance regression of a few percent only in the limit of extremely sparse graphs. Furthermore, it opens up the possibility for future speedups in other functions provided by this package, since it also computes data that can be directly used in those other functions.
    
    This PR does not change the API for the function itself, but it does add a couple of performance and type hint functions that other library types that inherit from AbstractGraphs can optionally overload to improve/tune performance, for example if they store adjacency lists in a linked list and so have different performance characteristics than array representations.
    saolof authored Oct 31, 2021
    Configuration menu
    Copy the full SHA
    b1018bf View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. Minor change to comments

    saolof authored Feb 2, 2022
    Configuration menu
    Copy the full SHA
    ca67d0a View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Configuration menu
    Copy the full SHA
    d3872d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    83cda6f View commit details
    Browse the repository at this point in the history