develooper Front page | perl.ponie.dev | Postings from March 2004

Re: Poniedate #43

Thread Previous | Thread Next
From:
Arthur Bergman
Date:
March 1, 2004 07:13
Subject:
Re: Poniedate #43
Message ID:
ED61D034-6B92-11D8-B799-000A95A2734C@fotango.com

On 1 Mar 2004, at 15:06, Dave Mitchell wrote:

>
> I'm probably teaching my grandmopther to suck eggs here, but...
>
> You do know that a a pad consists of an array-of-arrays, rather than 
> the
> usual array-of-refs-to-arrays? And that the outer array isn't AvREAL, 
> and
> so doesn't do ref-couning?

I know, and it shouldn't really matter since I haven't changed the 
code, it is still using all the macros to get the normal pointers 
except that it happens through an indirection.

So AvARRAY  calls    Perl_macro_AvARRAY that does a 
Parrot_PMC_get_pointer and then return &(xav->xav_array)   for example. 
So it shouldn't be changing anything.

Cheers
Arthur


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