[Haskell-cafe] Handling custom types in Takusen
Bayley, Alistair
Alistair_Bayley at invescoperpetual.co.uk
Fri Jul 27 10:49:46 EDT 2007
> From: Salvatore Insalaco [mailto:kirby81 at gmail.com]
>
> The main reason is that I'm working on a Sqlite back-end for Darcs,
> that will be used to store file contents.
> I think to choose Takusen as back-end library mainly because it has
> the blob functions of Sqlite already mapped.
Umm, yes... I wrote the blob FFI imports for Sqlite, as I planned to
prototype Takusen's blob support in Sqlite first, but never got any
further with it. It is completely untested.
> In Darcs PackedStrings are used to store file contents in memory. I
> don't think that it would be very efficient to store files of
> megabytes in a text column (there could be encoding problems too).
>
> Also, in Sqlite 3.4, they introduced new functions for incremental
> reading / writing of Blobs. I could use them in the future.
Seems reasonable. I recall Oleg saying something privately a while ago
about an API for large objects. He may have some ideas for this.
Alistair
*****************************************************************
Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
*****************************************************************
More information about the Haskell-Cafe
mailing list