Hi, I have started to work on some of the missing ops for the Resizable*Array PMCs. I noticed that, unlike the Array and PerlArray PMC, they currently do not use the functionality from src/list.c. This means that a ResizablePMCArray cannot be broken up in chunks and
set P0, .ResizablePMCArray P0[1000] = 1000 causes a lot of memory allocation. Is there a design reason for not having a chunked implementation? I have started to cut&paste some code from array.pmc to resizablepmcarray.pmc. So far it looks OK, with only test 15 of t/op/gc.t and test 10 of t/pmc/resizablepmcarray.t failing. One thing, that is propably hard to cover, is the method "sort" inherited from FixedPMCArray. It looks like 'qsort' needs a continous piece of memory for sorting. CU, Bernhard -- /* [EMAIL PROTECTED] */ GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail +++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++