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

[perl #32508] [TODO] P6GE - Convert PerlArray in gr_cap to ResizableIntegerArray

1 view
Skip to first unread message

Patrick R . Michaud

unread,
Nov 19, 2004, 10:38:20 AM11/19/04
to bugs-bi...@rt.perl.org
# New Ticket Created by Patrick R. Michaud
# Please include the string: [perl #32508]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=32508 >


P6GE currently uses a PerlArray for holding an array of captures;
Leo suggests this should be a ResizableIntegerArray instead (I agree).
However, this depends on the availability of push/pop vtable operations
(RT #32507). This ticket is entered to remind us to make the switch
in p6ge when 32507 has been completed.

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)

----- End forwarded message -----

0 new messages