18 May 17:36
Re: Re: Write Haskell as fast as C.
Ketil Malde <ketil <at> malde.org>
2008-05-18 15:36:47 GMT
2008-05-18 15:36:47 GMT
Ketil Malde <ketil <at> malde.org> writes: >> data EvidenceCode = IAC | IUG | IFR | NAC | NR | ... deriving Show > Could it be that this derived read instance is somehow very inefficient? To answer my own question: this is exactly it, ghc derives less than optimal code in this case. Rather than reiterate the case here, I did a quick writeup at http://blog.malde.org/, and would be quite happy about any feedback or suggestions. -k -- -- If I haven't seen further, it is by standing in the footprints of giants
RSS Feed