-
Notifications
You must be signed in to change notification settings - Fork 141
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
Remove integer-gmp / ghc-bignum dependency #371
Conversation
Wow, what a nice simplification! :) How does it affect performance? |
Replacing Surprisingly, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Surprisingly,
toIntegralSized
appeared to hit performance on shortInteger
by ~25%. I replaced it with an old-schoolfromInteger
/toInteger
, and now performance is back to baseline.
I think that might be worth reporting as a perf bug.
@sjakobi Does removing a flag constitute a breaking change? Shall I retain |
Good question! My guess would be that Cabal flags are "part of the API" in a way, and therefore changing them is a breaking change. I've opened haskell/pvp#33 to be sure. Maybe wait with the backport for now… |
This change should only impact GHC afaict and we can easily drop this flag from GHC's build system when we will bump the bytestring submodule. I would just remove it. |
I'm convinced. Let's not treat this as a breaking change. |
...and associated flags/CPP.