-
Notifications
You must be signed in to change notification settings - Fork 178
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
IntSet.fromList slower than repeated IntSet.insert #288
Comments
This seems likely to be caused by one or both of the major foldl' changes
|
For comparison the results of GHC-7.8.4:
This supports your hypothesis. |
@amigalemming, would you like to put together a pull request? |
Is this superseded by #653 now? |
@jwaldmann I really don't remember what I was thinking when I proposed a fix, and I don't really understand what I wrote, but I do think this will be fixed by #653. |
For the record, I tried the stupid |
I ran the following benchmark:
and got:
However, I am not sure whether I got the strictness right.
The text was updated successfully, but these errors were encountered: