See also
http://www.mail-archive.com/haskell-cafe@haskell.org/msg05809.html
Dominic.
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hmm cool. Binary does not appear in the GHC
docs... Is it new?
-Alex-
On Thu, 9 Dec 2004, Duncan Coutts wrote:
> On Thu, 2004-12-09 at 11:04 -0500, S. Alexander Jacobson wrote:
> > Or is there a better way to (de-)serialize
> > FiniteMaps?
>
> There's a neat trick that we use in c2hs (at least
On Mon, 2004-12-13 at 14:56 -0500, S. Alexander Jacobson wrote:
> Hmm cool. Binary does not appear in the GHC
> docs... Is it new?
Ah, it's not a user library distributed with GHC, it's a library used
internally in the implementation of GHC. If you want to use it you have
to rip it out of the ghc
On Thu, 2004-12-09 at 11:04 -0500, S. Alexander Jacobson wrote:
> Or is there a better way to (de-)serialize
> FiniteMaps?
There's a neat trick that we use in c2hs (at least the patched version
shipped with gtk2hs) to strictly read all the keys of the finite map but
read all the values lazily. Thi
I would like to read a large finitemap off of a
disk faster than the time it takes to read the
entire list of pairs.
My solution is to save it as a bunch of smaller
lists of pairs covering various key intervals (or
recency intervals). I then can readfile all of
these lists back into a bunch of fi