[Haskell-cafe] Ridiculously slow FFI, or cairo binding?

Eugene Kirpichov ekirpichov at gmail.com
Wed Nov 2 17:34:10 CET 2011


Guess what!
A simple {-# INLINE cFloatConv #-} helped to the same extent!

Axel, I think this change should be pretty easy to incorporate, and it
probably makes sense to inline all other functions in Types.chs too.

Would you like me to send the trivial darcs patch or the gtk2hs team
will take care of this?

On Wed, Nov 2, 2011 at 7:29 PM, Felipe Almeida Lessa
<felipe.lessa at gmail.com> wrote:
> On Wed, Nov 2, 2011 at 11:24 AM, Jean-Marie Gaillourdet
> <jmg at gaillourdet.net> wrote:
>> Hi Eugene,
>> did you try using the SPECIALIZE pragma? It is part of the Haskell 98 and Haskell 2010 specifications.
> I don't think it's going to make any difference, as the core already
> have an specialized poor version.  See my first e-mail.
> --
> Felipe.

Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/

More information about the Haskell-Cafe mailing list