[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Writing binary files in MCL...
- To: info-mcl
- Subject: Writing binary files in MCL...
- From: waander@cs.umd.edu (Bill Andersen)
- Date: 17 Jun 92 06:08:58 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
- Sender: news@mimsy.umd.edu
Well, I tried to ask this question once, but got no response, so
I'll try to put it more simply: I'm trying to write objects out and
read them in in a binary file to increase speed and save space. I'm
using generic functions on the built-in classes/structure classes to
handle the type specific encoding/decoding. I'm using (write-byte..)
and (read-byte..) to do the file I/O. I like the generic function
stuff; MCL seems pretty efficient in handling the method dispatch. I
was wondering, though, if there is a better/faster way to actually do
the I/O? I don't care if it's MCL-specific. Any suggestions?
...Bill
--
Bill Andersen (waander@cs.umd.edu) |
University of Maryland | clever .signature saying
Department of Computer Science | under construction
College Park, Maryland 20742 |