
21 Dec
2006
21 Dec
'06
7:40 p.m.
On Thu, Dec 21, 2006 at 01:47:48PM -0800, Ranjan Bagchi wrote:
Is there a fast way to do this using ghc? I can extract fields by using a ByteString, but I may not be using it fast enough: I've had to write my own routines to extract ints, longs and doubles.
The other option is to write the loading code largely in C, but I'm not clear how to write a data type which maps well to a C struct.
I'm not sure how fast it is, but NewBinary might fit you needs? Hopefully this the most current link http://j.mongers.org/pub/haskell/NewBinary/ Marc