develooper Front page | perl.perl6.internals | Postings from December 2001

Re: Large string patch

Thread Previous | Thread Next
From:
David & Lisa Jacobs
Date:
December 30, 2001 09:29
Subject:
Re: Large string patch
Message ID:
005901c19157$aacf5020$6401a8c0@jacobs

From: "Dan Sugalski" <dan@sidhe.org>
> At 08:33 PM 12/29/2001 -1000, David & Lisa Jacobs wrote:
> GC will manage all the memory. Everything managed should either be hung
off
> a PMC or an internal structure. (There are GC hooks in the vtable for
> complex things)

So does that mean I can get rid of passing around the interpreter?

> The bigger issue is:
>
> >The biggest thing that might cause heartburn is that I made the string
> >structure and string buffer a single memory block.
>
> I want the string and memory to be separate if we can at all manage it.
> Imagine, for example, this:

Now that I have memory allocation for the STRING down to a single location,
it is very easy for me to make it a pointer again and create two
allocations.  Would you like me to do that and submit the patch.

David


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About