
21 Mar
2010
21 Mar
'10
10:50 p.m.
On Mon, Mar 22, 2010 at 01:08:39AM +0000, kingping wrote:
Here's my C implementation: http://hpaste.org/fastcgi/hpaste.fcgi/view?id=24191#a24191
I don't know how much difference in time there would be, but you should use lists in C and/or mutable arrays in Haskell, otherwise you are comparing apples to oranges. Comparision of algorithms should use the same data structures, unless you're asking for a comparision of "idiomatic" implementations. Cheers, -- Felipe.