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

Improve foldl and foldr for IntSet #667

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

Commits on Jul 18, 2019

  1. Improve foldl and foldr for IntSet

    `foldrBits` was previously defined just like `foldr'Bits`, and
    `foldlBits` was defined just like `foldl'Bits`. That is, each of them
    built up an accumulator, lazily, across a whole leaf before producing
    anything. Swap that around so the folds can process values promptly.
    
    Fixes haskell#666
    treeowl committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    7278be6 View commit details
    Browse the repository at this point in the history
  2. Add benchmarks

    treeowl committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    4863d85 View commit details
    Browse the repository at this point in the history