Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/containers. Pull mirroring updated .
  1. Nov 08, 2024
  2. Sep 27, 2023
  3. Sep 06, 2023
  4. Jul 26, 2023
  5. Jun 30, 2023
  6. Jun 28, 2023
  7. Jun 24, 2023
    • meooow's avatar
      Improve {Set,Map}.fromDistinct{Asc,Desc}List (#950) · 48196fba
      meooow authored
      * Benchmarks for {Set,Map}.fromDistinct{Asc,Desc}List
      
      * Improve {Set,Map}.fromDistinct{Asc,Desc}List
      
      A faster and fusion-friendly implemention of the current strategy.
      
      On GHC 9.2.5:
      For Set this takes 56% less time when there is fusion and 30% when not.
      For Map this takes 55% less time when there is fusion and 16% when not.
      
      * Remove a now inaccurate claim in {Set,Map}.fromList
      
      * Add a note explaining the implementation
      
      * Pull out linkTop and linkAll helpers as INLINABLE
      
      And leave further optimization to GHC.
      48196fba
  8. Jun 03, 2023
    • meooow's avatar
      More foldMap related Tree tests (#934) · f6e81f25
      meooow authored
      * Test that last for Tree is lazy enough
      
      last should only need to look at the path going down to the last leaf.
      
      * Test foldMap and foldMap1 for Tree more
      
      Test that they fold according to the structure of the tree.
      f6e81f25
  9. May 24, 2023
  10. Apr 19, 2023
  11. Mar 18, 2023
  12. Mar 14, 2023
  13. Mar 13, 2023
    • David Feuer's avatar
      Remove stack.yaml (#939) · 2eb150e6
      David Feuer authored
      * The `stack.yaml` was quite stale. It also was not obviously very
        useful in the context of a GHC boot package. Remove it, as well as the
        instructions for building and testing with `stack`.
      
      * Expand the information on testing/benchmarking with `cabal`.
      
      Closes #938
      2eb150e6
  14. Mar 04, 2023
  15. Feb 12, 2023
  16. Feb 04, 2023
  17. Feb 01, 2023
  18. Jan 31, 2023
  19. Jan 30, 2023
  20. Jan 29, 2023
    • meooow's avatar
      Inline simple functions in Data.Graph (#915) · 6575af0f
      meooow authored
      * Add benchmarks for Data.Graph.transposeG
      
      * Inline simple functions in Data.Graph
      
      Mark vertices, edges, buildG, and reverseE as INLINE. These are
      functions with simple definitions that produce or consume lists.
      Inlining them allows fusion and other optimizations.
      Improvements are seen in transposeG and scc (which uses transposeG),
      and external callers could also benefit.
      6575af0f
Loading