[Haskell-cafe] GHC vs GCC
pitekus at gmail.com
Sat Mar 27 03:46:54 EDT 2010
Rafael Almeida wrote:
> On Fri, Mar 26, 2010 at 6:49 PM, Jason Dagit <dagit at codersbase.com> wrote:
> Using bang patterns didn't help almost anything here. Using rem
> instead of mod made the time go from 45s to 40s. Now, using -fvia-C
> really helped (when I used rem but not using mod). It went down to
> What's going on here? Doesn't ghc do tail recursion optimization?
I see similar surprising results here on x86_64 Linux, GHC 6.10.4 (version
View this message in context: http://old.nabble.com/GHC-vs-GCC-tp28045806p28050734.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
More information about the Haskell-Cafe