guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile Binary Format 0.1


From: Dirk Herrmann
Subject: Re: Guile Binary Format 0.1
Date: Thu, 22 Feb 2001 10:44:38 +0100 (MET)

On Wed, 21 Feb 2001, Matthew R Wette wrote:

> What if the binary port uses a hash table of previously written 
> cells and one writes out the table and replaces references to
> cons cells with references to entries in the hash table.  Then
> when the file is read in the cells are generated only once.

Yes, that's a way to implement it.  However, the current solution does not
provide a 'binary port', but just two operations 'binary-write' and
'binary-read'.  Changing this into a binary-port style is not too
difficult per se, only guile's port subtype system is not too well suited
(IMO) for such 'strange' kinds of ports.

Best regards,
Dirk Herrmann




reply via email to

[Prev in Thread] Current Thread [Next in Thread]