#2271: floor, ceiling, round :: Double -> Int are awesomely slow ------------------------------------------+--------------------------------- Reporter: dons | Owner: daniel.is.fischer Type: bug | Status: new Priority: low | Milestone: 7.0.1 Component: libraries/base | Version: 6.8.2 Keywords: performance, math, double | Testcase: Blockedby: | Difficulty: Unknown Os: Unknown/Multiple | Blocking: Architecture: Unknown/Multiple | Failure: None/Unknown ------------------------------------------+--------------------------------- Changes (by daniel.is.fischer):
* owner: => daniel.is.fischer Comment: Okay, GHC's new !CodeGen kicks some serious behind. For Float we only get a speedup for the Int-special versions (and for round, we should call out to C). For Double, a few of the general versions (via Integer) run slower than with 6.12, but everything is faster than the current implementation. I still need to do a bit of Core-digging to see if I can fix the regressions vs. 6.12. Patch should be ready tomorrow or Wednesday. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2271#comment:14> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs