From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed1.bredband.com!bredband!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: Updating a database of object with CLOS Date: 22 Nov 2002 03:10:40 +0000 Organization: Naggum Software, Oslo, Norway Lines: 14 Message-ID: <3246923440767292@naggum.no> References: <6b4aa54a.0211210511.2cb45504@posting.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: maud.ifi.uio.no 1037934641 14124 129.240.65.5 (22 Nov 2002 03:10:41 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 22 Nov 2002 03:10:41 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:47379 * delaregue@netscape.net (Delaregue) | Is there a way to save only updated information? How about only saving changes by appending to the file? This will in effect be a transaction log and you can even achieve real transactions by saving `begin´ and `commit´ forms so you can save changes made in each update method and then finalize them. Every once in a while, do a full save of the database. All of this may be accomplished with a meta-class. -- Erik Naggum, Oslo, Norway Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.