Skip to content
Snippets Groups Projects
Commit de97951b authored by Simon Jakobi's avatar Simon Jakobi
Browse files

Improve some folds over Uniq[D]FM

* Replace some non-deterministic lazy folds with
  strict folds.
* Replace some O(n log n) folds in deterministic order
  with non-deterministic folds.
* Replace some folds with set-operations on the underlying
  IntMaps.

This reduces max residency when compiling
`nofib/spectral/simple/Main.hs` by about 1%.

Maximum residency when compiling Cabal also seems reduced on the
order of 3-9%.
parent 30a63e79
No related branches found
No related tags found
No related merge requests found
Pipeline #17517 canceled
Showing
with 127 additions and 79 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment