Re: Freezing and thawing

2003-11-26 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: [ a lot of design ] > Yes, this does bloat out the format some, but it Seems so. But anyway, can you put together a design document and check it in, so that this whole stuff isn't lost in history. Some additional random remarks and questions: * Where do

Re: Freezing and thawing

2003-11-25 Thread Dan Sugalski
On Mon, 24 Nov 2003, Leopold Toetsch wrote: > Dan Sugalski <[EMAIL PROTECTED]> wrote: > > On Mon, 24 Nov 2003, Leopold Toetsch wrote: > > >> In the mean time I've checked in freeze/thaw for PerlHash. It uses an > >> element count as list does. We could of course use your proposed scheme > >

Re: Freezing and thawing

2003-11-24 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > On Mon, 24 Nov 2003, Leopold Toetsch wrote: >> In the mean time I've checked in freeze/thaw for PerlHash. It uses an >> element count as list does. We could of course use your proposed scheme > ^ > You mis-spelled "will

Re: Freezing and thawing

2003-11-24 Thread Dan Sugalski
On Mon, 24 Nov 2003, Leopold Toetsch wrote: > Dan Sugalski <[EMAIL PROTECTED]> wrote: > > >> > startpairs(name) > >> > endpairs(name) > > > start/end pairs does the same thing, only what gets frozen is a series of > > pairs (key/value things) rather than individual entries. And yes, I > > realize

Re: Freezing and thawing

2003-11-24 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: >> > startpairs(name) >> > endpairs(name) > start/end pairs does the same thing, only what gets frozen is a series of > pairs (key/value things) rather than individual entries. And yes, I > realize that you can simulate pairs with alternating key/value entr

Re: Freezing and thawing

2003-11-24 Thread Dan Sugalski
On Fri, 21 Nov 2003, Leopold Toetsch wrote: > Dan Sugalski <[EMAIL PROTECTED]> wrote: > > > 5) The vtable API > > [ ... ] > > > thawfinish() > > This is very probably necessary to perform some final state adjustemnt, > when all the contained PMCs are done but not as a general "to be > called on ea

Re: Freezing and thawing

2003-11-21 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > 5) The vtable API [ ... ] > thawfinish() This is very probably necessary to perform some final state adjustemnt, when all the contained PMCs are done but not as a general "to be called on each". E.g. a plain scalar PMC doesn't need it. I'd rather have s

Freezing and thawing

2003-11-21 Thread Dan Sugalski
The beginnings of freezing and thawing are going in, which is good -- this should get us to PMC constants in the bytecode files, and proper over-the-wire freeze/thaw stuff. We're a bit raw at the moment, which is fine, so I wanted to give a heads up as to where things are moving, what needs