At 5:50 PM +0200 6/14/04, Leopold Toetsch wrote:
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

Yup. (Well, except for the PerlArray part) Part of this exercise is to standardize things and toss the things we no longer need.


- incomplete: push/pop/shift/unshift/splice/freeze/thaw

Then we need to start a todo list.

- It's broken (realloced mem isn't cleared always)

So fix it, or file a bug report for someone else to fix.

= It's 2 times slower for filling arrays with this loop:

    i = 0
lp:
    ar[i] = 1
    inc i
    if i < n goto lp

Well, yeah, it's unoptimized. That can be fixed.

- clone is different (shallow vs deep) - whatever is right

Which needs standardization. -- Dan

--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to