Am Donnerstag, 11. Dezember 2008 21:56 schrieb Bulat Ziganshin: > Hello Daniel, > > Thursday, December 11, 2008, 11:49:40 PM, you wrote: > > sorry for noise, it seems that i know ghc worse than you
If only that were true. I just know that GHC's optimiser can do some rather impressive stuff when given appropriate types, so I tried. Meanwhile, I've confirmed that it does share (for Int and Integer) with -O1 and -O2, but not with -O0, by looking at the generated core. Cheers, Daniel _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe