git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Deprecating "instance method" class


On 2019-04-05 14:10, Serhiy Storchaka wrote:
> it can be used to
> implement accelerated versions of separate methods instead of the whole
> class.

Could you elaborate? I'm curious what you mean.

> I'm going to use it to further optimize total_ordering.

There are so many ways in which total_ordering is inefficient. If you 
really want it to be efficient, you should just implement it in C.