The RefSerialize package

[Tags: bsd3, library]

Read, Show and Binary instances do not check for internal data references to the same address. As a result, the data is duplicated when serialized. This is a waste of space in the filesystem and also a waste of serialization time. but the worst consequence is that, when the serialized data is read, it allocates multiple copies for the same object when referenced multiple times. Because multiple referenced data is very typical in a pure language such is Haskell, this means that the resulting data loose the beatiful economy of space and processing time that referential transparency permits.

In this release deserialization is much, much faster by using the stringsearch package

See Data.RefSerialize for details


Versions0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8,,,,,,,
Dependenciesbase (==4.*), binary, bytestring, containers, hashtables, stringsearch
AuthorAlberto Gómez Corona
CategoryParsing, Data, Database
Upload dateThu May 15 10:17:42 UTC 2014
Uploaded byAlbertoCorona
Downloads2189 total (250 in last 30 days)




Maintainers' corner

For package maintainers and hackage trustees