Mon, 3 Dec 2001 12:54:01 -0000, Simon Marlow <[EMAIL PROTECTED]> pisze:

> That will likely hurt performance quite a bit (I don't have figures,
> but I guess 10-20%).

I've heard that guessing about performance means nothing compared to
measuring :-)

> Often the cause is some inlining or other optimisations that put
> extra strain on gcc's register allocator, so it is usually best to
> try to track down and avoid these.

7 modules of 52 in qforeign are affected. It's hard to avoid: using
FFI is often enough to cause the problem. It's annoying that the
compiler can't figure out itself how it should compile things and I
must mark modules explicitly, and that what should be marked depends
on versions of compilers and options, so even if it works in some
environment it can break in another.

Is it possible to apply this setting to parts of a module (e.g. parts
using FFI)?. I mean that ghc would do it itself.

-- 
 __("<  Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/
  ^^
QRCZAK


_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to