From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: Package for data serialization? Date: Tue, 13 Jun 2006 09:04:17 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: <1150195170.157848.7260@f6g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150206043 30985 80.91.229.2 (13 Jun 2006 13:40:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Jun 2006 13:40:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 13 15:40:39 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fq989-0007gB-8G for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jun 2006 15:40:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fq988-0000hK-R8 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jun 2006 09:40:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!xs4all!feeder1!newsfeed.freenet.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: ssxApruf9OBwgtIUizvsrpMiLuYEwStOdlhMuxjHh0OVIIWHZx0QiPcV2KAKR27+OvjRJC+JA93Y7a0g1GzrH2ONF7yB9VB96M7JB9ePe+7idc+wkLWEi6wEPCEVVIMu Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Tue, 13 Jun 2006 13:04:19 +0000 (UTC) X-User-ID: MIeswiy5NZGZrqHoVx6inOVGWWNCmuk24eJ4swOk8+4= X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:YFDARMjoLdaPy6gnctSHlhojXt4= User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-NNTP-Posting-Host: FICOsqSeftfrrqAyKgm75qQsqvd7uqYHyMSaBl0bAiI= Original-Xref: shelby.stanford.edu gnu.emacs.help:139803 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35427 Archived-At: 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