[Haskell-beginners] "reusable" data in Haskell
stephen.tetley at gmail.com
Fri Dec 4 03:42:11 EST 2009
Data-Binary is the commonly used serialization library, it could well
be adequate for your purposes:
>From the blurb:
"Serialisation speeds of over 1 G/sec have been observed, so this
library should be suitable for high performance scenarios."
It really depends how you choose to represent the database, if you
have cycles serialization could be tricky, but if you just have atoms
of strings for the predicates and facts it should be fine(*).
(*) Converting to and from Strings and ByteStrings will take _some_
time in the serialization layer, but it would take some time from a
real database or other format.
More information about the Beginners