
1 Nov
2012
1 Nov
'12
9:24 a.m.
Hi, have you considered investigating whether the ffi call can be sped up? To me it seems to be a bit overheady to first check in Haskell-Land for common cases and then call code that would (or does?) this check as well. Maybe the overhead for calling the C code can be reduced so that it is no longer worth doing special casing in the Haskell code. Maybe using primitive operations instead of the C calling convention help, as it would effectively inline the call to u_iswspace? Greetings, Joachim -- Joachim "nomeata" Breitner mail@joachim-breitner.de | nomeata@debian.org | GPG: 0x4743206C xmpp: nomeata@joachim-breitner.de | http://www.joachim-breitner.de/