
you probably got crappy timings with mine because it was compiled with
-prof, and without all the optimization options. you should try some
of them on your implementation. -O2 -fexcess-precision
-funbox-strict-fields gave me a significant boost.
On 7/15/07, Anatoly Yakovenko
this is my current one http://hpaste.org/1704
doing a sum with yours (2nd one on http://hpaste.org/1695#a2) on a 4mb mp3 i got
real 0m33.147s user 0m13.129s sys 0m0.724s
with mine i got
real 0m1.262s user 0m1.096s sys 0m0.120s
On 7/15/07, Malte Milatz
wrote: I wrote:
Before I started tweaking (with the help of the IRC channel), I had read the input in as a ByteString, then unpacked it to [Word8] for further processing.
I forgot to mention that I still used ByteString.length here. That may be a very important factor.
Malte
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe