[GHC] #13193: Integer (gmp) performance regression?
GHC
ghc-devs at haskell.org
Fri Jan 27 08:31:48 UTC 2017
#13193: Integer (gmp) performance regression?
-------------------------------------+-------------------------------------
Reporter: j.waldmann | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Keywords: | Operating System: Linux
Architecture: x86_64 | Type of failure: Runtime
(amd64) | performance bug
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
For a simple program that uses Integer, but actual data would fit in an
Int, ghc-8.0.2 seems to have more runtime overhead than ghc-6.12.3 had:
http://www.imn.htwk-leipzig.de/~waldmann/etc/mob/
I am not really sure what to make of it - an answer could be:
"if you know that your Integer fits in an Int, then just use Int".
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13193>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list