Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.

[perl #32507] [TODO] ResizableIntegerArray missing vtables (e.g., pop)

5 ዕይታዎች
ወደ የመጀመሪያው ያልተነበበ መልዕክት ዝለል

Patrick R . Michaud

ያልተነበበ፣
19 ኖቬም 2004 10:34:20 ጥዋት19/11/2004
ለ bugs-bi...@rt.perl.org
# New Ticket Created by Patrick R. Michaud
# Please include the string: [perl #32507]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=32507 >


In P6GE, there's an array (gr_cap) that is used to store group captures
as an array of ints. Leo suggests that a ResizableIntegerArray
be used instead of a PerlArray, but before this can be done the
ResizableIntegerArray needs to have vtable entries for push and pop.

Pm

----- Forwarded message from Leopold Toetsch <l...@toetsch.at> -----

- the array "gr_cap" seems to take integers only. If yes it should be
eventually a ResizableIntegerArray. But this needs 2 TODO items (which
I'd just drop off to the list): implement missing vtables like pop and
use the allocation style from ResizablePMCArray, i.e. the size in
PMC_int_val2(ar). The resize logic could just be reused (called directly)


Patrick R. Michaud

ያልተነበበ፣
6 ኤፕሪ 2006 5:04:28 ከሰዓት06/04/2006
ለ Bernhard Schmalhofer via RT
On Thu, Apr 06, 2006 at 01:46:09PM -0700, Bernhard Schmalhofer via RT wrote:
> As PGE nowadays happily works with Parrot standard PMCs, I assume that
> this old issue has been taken care of.

Actually, this particular todo item didn't have anything to do with
PGE. Leo and I were conversing about it in email at one point, and
he mentioned that ResizableIntegerArray didn't have vtable
support and asked me to submit a TODO for it (and I did).

Still, I presume you're correct that it's resolved, so we can leave
it closed for now. :-)

Thanks for keeping things up-to-date!

Pm

0 አዲስ መልዕክቶች