[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Package for data serialization?
From: |
Ted Zlatanov |
Subject: |
Re: Package for data serialization? |
Date: |
Tue, 13 Jun 2006 09:04:17 -0400 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
On 13 Jun 2006, spamfilteraccount@gmail.com wrote:
> Is there a package for de/serializing an arbitrary elisp data
> structure, so that it can be read/written in binary format from/to
> disk?
>
> I know about prin1 and co., but they create a printed representation
> and I want binary for speed and size.
To save space, just compress the resulting file. It will probably do
better for *arbitrary* data (if you know the data, for instance
images, you can obviously do a better job because you know what can be
thrown away).
I don't think the speed improvements will be worth the time you will
spend on this :) Perhaps the fact that there isn't such a system
already indicates it's not worth the effort to build it.
Ted