[Haskell-cafe] fastest Binary library!

Donald Bruce Stewart dons at cse.unsw.edu.au
Sat Jan 7 19:43:51 EST 2006

> Hello
> yes, i did it! today i spend time to optimize my own Binary library
> and got the (de)serialization speed about 50 mb/s with my 1 ghz cpu.
> it is a peek speed for unboxed arrays, in real life GC times and other
> overhead expenses will need much more time than (de)serialization
> itself. but at least noone can now say that serialization is a
> bottleneck of Haskell program :)
> i uploaded current version to http://freearc.narod.ru/Binary.tar.gz
> Main.hs in package is a testing program which builds, puts to memory
> buffer and then gets back a 40mb array and prints runtime of each
> operation

Excellent! How does this compare to NewBinary? 

-- Don

More information about the Haskell-Cafe mailing list