From vsedach at gmail.com Wed Apr 6 02:47:20 2011 From: vsedach at gmail.com (Vladimir Sedach) Date: Tue, 5 Apr 2011 22:47:20 -0400 Subject: [bknr-devel] BKNR.datastore: support for serializing/deserializing arrays with complex (list) element-types Message-ID: Hi, I'd like to be able to store vectors of element-type '(unsigned-byte 8) using bknr.datastore. The included patch seems work to that end. Please consider it for inclusion. Thank you, Vladimir -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Added-support-for-encoding-decoding-arrays-with-type.patch Type: application/octet-stream Size: 1237 bytes Desc: not available URL: From hans.huebner at gmail.com Wed Apr 6 04:59:04 2011 From: hans.huebner at gmail.com (=?ISO-8859-1?Q?Hans_H=FCbner?=) Date: Wed, 6 Apr 2011 06:59:04 +0200 Subject: [bknr-devel] BKNR.datastore: support for serializing/deserializing arrays with complex (list) element-types In-Reply-To: References: Message-ID: Hi Vladimir, thank you for your patch. I am interested in applying it, but as it currently stands, I think it does break backward compatibility for stores. Can you change it so that both old-format and new-format stores can be read? Writing the old format need not be supported. Thanks! Hans On Wed, Apr 6, 2011 at 4:47 AM, Vladimir Sedach wrote: > Hi, > > I'd like to be able to store vectors of element-type '(unsigned-byte > 8) using bknr.datastore. The included patch seems work to that end. > Please consider it for inclusion. > > Thank you, > Vladimir > > _______________________________________________ > bknr-devel mailing list > bknr-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/bknr-devel > > From vsedach at gmail.com Fri Apr 8 21:17:34 2011 From: vsedach at gmail.com (Vladimir Sedach) Date: Fri, 8 Apr 2011 17:17:34 -0400 Subject: [bknr-devel] BKNR.datastore: support for serializing/deserializing arrays with complex (list) element-types In-Reply-To: References: Message-ID: Hi Hans, Here is the updated patch with backwards compatibility (something which I always forget!). Unfortunately it is a bit ugly and I don't know how to make it better. I guess one lesson here is to add tags to all binary data if you're designing a new serialization scheme. Vladimir On Wed, Apr 6, 2011 at 12:59 AM, Hans H?bner wrote: > Hi Vladimir, > > thank you for your patch. ?I am interested in applying it, but as it > currently stands, I think it does break backward compatibility for > stores. ?Can you change it so that both old-format and new-format > stores can be read? ?Writing the old format need not be supported. > > Thanks! > Hans > > On Wed, Apr 6, 2011 at 4:47 AM, Vladimir Sedach wrote: >> Hi, >> >> I'd like to be able to store vectors of element-type '(unsigned-byte >> 8) using bknr.datastore. The included patch seems work to that end. >> Please consider it for inclusion. >> >> Thank you, >> Vladimir >> >> _______________________________________________ >> bknr-devel mailing list >> bknr-devel at common-lisp.net >> http://common-lisp.net/cgi-bin/mailman/listinfo/bknr-devel >> >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Added-support-for-encoding-decoding-arrays-with-type.patch Type: application/octet-stream Size: 2690 bytes Desc: not available URL: