Re: Patches that will come...

[email protected] (Arthur Bergman) Thu, 2 Sep 2004 10:47:32 +0100
Newsgroups perl.ponie.dev
Message-ID <[email protected]>
>
> Is there XS code around that directly manipulates aggregates? E.g.
>
>   AvARRAY(av)[i] = some_sv;
>
> or is it enforced to use the interface:


There is, but I think we can get this to work because even if you can 
do that you need to go through the API to resize the array (IE, if you 
call realloc yourself your are on your own), so AvARRAY simply needs to 
return the internal array as it does now, and the GC code in our PMC 
just needs to walk the PMCs inside the AvARRAY.

I think :)

Cheers
Arthur

-----
Infrastructure Manager @ Fotango Ltd
+447834716919
http://www.fotango.com/

On 2 Sep 2004, at 08:28, Leopold Toetsch wrote: