Skip to content
  • Hannes Siebenhandl's avatar
    50e999ca
    Speed up 'closure' computation in `ghc-pkg` · 50e999ca
    Hannes Siebenhandl authored and Marge Bot's avatar Marge Bot committed
    Cache the set of already seen `UnitId`s and use `Set` operations to
    speed up 'closure' computation.
    
    Further simplify the implementation of 'closure' to account for the
    actual usage.
    As a consequence, we rename 'closure' to 'brokenPackages' to reflect its
    purpose better after the simplification.
    50e999ca
    Speed up 'closure' computation in `ghc-pkg`
    Hannes Siebenhandl authored and Marge Bot's avatar Marge Bot committed
    Cache the set of already seen `UnitId`s and use `Set` operations to
    speed up 'closure' computation.
    
    Further simplify the implementation of 'closure' to account for the
    actual usage.
    As a consequence, we rename 'closure' to 'brokenPackages' to reflect its
    purpose better after the simplification.
Loading