Karl H. wrote:

> Does anybody know why defining __delitem__ is causing the code to run 
> slower? It is not being called, so I don't see why it would affect 
> performance.

probably because overriding portions of the internal sequence slot API 
(tp_as_sequence) means that Python needs to do full dispatch for all 
members of that API, instead of keeping things at the C level.

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to