At 03:18 PM 7/3/2001 +0100, Graham Barr wrote:
>On Tue, Jul 03, 2001 at 10:15:02AM -0400, Uri Guttman wrote:
> > >>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
> >
> > DS> We're going to use a copying collector. When the string gets
> > DS> copied as part of a compaction run things'll get cleaned up
> > DS> appropriately. (Not that there's really any cleanup to do in that
> > DS> case) Granted the destination string buffer will only be as big as
> > DS> the source buffer 'really' is (which is to say the amount of
> > DS> memory actually in the string plus the extra bit at the end, if
> > DS> there is any) but that's fine.
> >
> > ok. i didn't realize the GC design was that far along. IIRC copying
> > collectors need to have double the used space at all times to make a
> > copy. is that ram tradeoff for speed? again IIRC copying is much simpler
> > than mark/sweep but the ram does cost.
>
>Ouch. I have quite often had applications that would use several hundred MB
>now. If I would need double that, then that is going to hurt.
Don't worry, it won't.
>I am not
>familiar with copying collector GC, does anyone have a pointer to any
>papers etc.
The book _Garbage Collection_ is one everyone recommends. The ISBN's in the
Perl 6 book list, IIRC. (I can go dig my copy out if need be)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk