home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp
- Path: sparky!uunet!sun-barr!ames!eos!data.nas.nasa.gov!data!gumby
- From: gumby@Cygnus.COM (David V. Henkel-Wallace)
- Subject: Why name your objects? (was Re: creating LISP ...)
- In-Reply-To: dfs@doe.carleton.ca's message of Fri, 24 Jul 1992 20:25:36 GMT
- References: <1992Jun26.162734.13036@newshub.sdsu.edu> <12ft7kINNbb3@early-bird.think.com>
- <7011@skye.ed.ac.uk> <dfs.712009536@ro>
- Sender: news@nas.nasa.gov (News Administrator)
- Organization: Cygnus Support, Palo Alto, California
- Date: 27 Jul 92 05:18:11
- Message-ID: <GUMBY.92Jul27051811@Cygnus.COM>
- Lines: 15
-
- Date: Fri, 24 Jul 1992 20:25:36 GMT
- From: dfs@doe.carleton.ca (David F. Skoll)
-
- I'm working on a large system where that was done, and it does seem a
- waste. However, I've found one good reason for doing it that way -
- when objects contain pointers to other objects, it's a bit of a hassle
- to write the database to disk in a nice readable way. If the pointers
- simply name the objects, it's very easy to write the database to disk.
- Also, it's easy to re-create the database when reading it back from
- disk.
-
- unless you have a very small database, or need to be able to read it
- into many lisps, you probably won't want the time it takes to go
- through the reader and the printer. Instead you want to make a
- compiled file.
-