[Patches] UPDATE: array.{pop,extend} [array.{count,index,remove}]
Tim Peters
tim_one@email.msn.com
Mon, 12 Jun 2000 13:29:56 -0400
[Guido]
> My suggestion would be to add pop() and extend() but leave the slow
> ones (count, index, remove) out.
[Peter Schneider-Kamp]
> Now the patch adds pop() and extend(), the other three replace
> the non-working versions which somebody (Tim?) added at some time
> (long ago?), but are still #if 0..#endif'ed.
'Tweren't me -- AFAIK those stubs have been there forever.
> Documentation and tests for pop() and extend() are also added.
Good!
> Nevertheless I don't see the harm of having those "slow" versions.
> If somebody really should need them, they are more convenient and
> probably also faster than equivalent Python code.
I agree. Guido is concerned that he's going to get yelled at when people
discover *how* slow they are (compared to lists), and I sympathize with
that, but Guido has to get used to the idea that he'll soon have people to
yell at in turn <wink>.
Seriously, that we want (& may even have) a faster implementation "someday"
isn't compelling reason to refuse to supply the *functionality* today.
work-first-fast-later-ly y'rs - tim