#2374: MutableByteArray# is slower than Addr#
-------------------------------+--------------------------------------------
Reporter: dolio | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.10 branch
Component: Compiler (NCG) | Version: 6.8.2
Severity: minor | Resolution:
Keywords: performance array | Difficulty: Unknown
Testcase: | Architecture: x86_64 (amd64)
Os: Linux |
-------------------------------+--------------------------------------------
Comment (by dolio):
I've attached a new version of the MutableByteArray# benchmark I
discovered while playing around with the static argument transform. It
appears that, for me at least, performing SAT on the array argument of
this benchmark causes GHC to produce significantly slower code via the NCG
(via-C isn't much affected).
Using this version of the benchmark appears to put Addr# and MBA# at about
the same speed (Addr# may still be slightly faster, but I can probably
forgive 0.5 seconds on 2.5 billion array accesses). So, you may feel free
to close this bug if you deem it appropriate.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2374#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs