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

[perl #34394] [TODO] implement the splice vtable in *PMCArrays

3 views
Skip to first unread message

Leopold Toetsch

unread,
Mar 10, 2005, 3:10:28 AM3/10/05
to bugs-bi...@rt.perl.org
# New Ticket Created by Leopold Toetsch
# Please include the string: [perl #34394]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34394 >


The splice opcode has the functionality of the perl5 function, so that
should be rather straight to implement. See also classes/array.pmc:splice.

FixedPMCArray can have a splice too, if the array limit isn't hit.

Other <type>*Arrays should first be adapted to the allocation scheme and
layout of the *PMCArray types.

Oh well, while at it, the *BooleanArray should just use one bit per item
not an INTVAL.

leo

0 new messages