This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Proposal for a Guile binary file format


Ceri Storey <cez@nomorespam.freeserve.co.uk> writes:

> on Thu, Nov 18, 1999 at 01:22:19AM +0100, Mikael Djurfeldt denied that:
> }The rationale for the "permanent" and "standard" classes is that
> }"permanent" memory can avoid repeated consing or calls to malloc while
> }"standard" memory can be GC:d.  "permanent" is good for source code
> }while "standard" is good for expressions.
> 
> For permanent storage, wouldn't it be a better idea to mmap the sections into 
> memory? That way, the os can do the loading on demand, like shared libraries.

Sure---good point.

We could read it in the general case (for portability) and mmap it on
systems where Guile support this.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]