Robert Bradshaw, 03.11.2009 10:22:
> On Oct 25, 2009, at 11:53 AM, Lisandro Dalcin wrote:
>> I think Cython could generate a custom, inline function
>> implementing l.pop([n]) and fast dispatch to it if the object is
>> exactly a list ...
> 
> http://hg.cython.org/cython-devel/rev/2e3dda4a7d23

Hmm, is this really worth the code duplication with CPython? I mean, we are
partly copying the list-shrink trigger algorithm here, which I would prefer
to consider an implementation detail of the list type.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to