Re: Patches that will come...
[email protected] (Tim Bunce) Thu, 2 Sep 2004 09:49:05 +0100
| Newsgroups | perl.ponie.dev |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Sep 02, 2004 at 09:28:58AM +0200, Leopold Toetsch wrote: > Nicholas Clark <[email protected]> wrote: > > [ refcounting in XS ] > > > To us the first step is to abolish the refcount field and let parrot do all > > the refcounting via its PMC reference marking. > > Is there XS code around that directly manipulates aggregates? E.g. > > AvARRAY(av)[i] = some_sv; Yes. (The DBI and drivers for a start.) > or is it enforced to use the interface: > > Perl_av_store(av, i, some_sv); No. But active module maintainers would make that change to ease migration if it was required. > For the former there are possiblities that an incremental or > generational GC scheme might break. This problem could arise with any > kind of aggregate stores. Tim.