Dan Sugalski <[EMAIL PROTECTED]> wrote:
> At 12:42 AM -0700 6/13/04, Matt Fowles (via RT) wrote:
>>This patch adds Resizable*Array pmcs as the counterparts to Fixed*Array
>>pmcs. It does so by inheriting from them, so the Fixed ones are changed
>>too.
> Applied, thanks.
- duplicates existing PMCs functionality:
IntList <-> ResizableIntegerArray
FloatvalArray <-> ResizableFloatArray
PerlArray <-> ResizablePMCArray
Array <-> FixedMCArray
- incomplete: push/pop/shift/unshift/splice/freeze/thaw
- It's broken (realloced mem isn't cleared always)
= It's 2 times slower for filling arrays with this loop:
i = 0
lp:
ar[i] = 1
inc i
if i < n goto lp
- clone is different (shallow vs deep) - whatever is right
leo