[pypy-dev] Small optimization

Antonio Cuni anto.cuni at gmail.com
Wed Oct 24 15:12:56 CEST 2007

Jean-Paul Calderone wrote:
> Does this break (by ignoring) custom __add__ implementations on int
> subclasses?

uh, right! :-/

Well, that means that we should check for the exact classes/python type 
instead for subclasses, but I think the optimization is still worth of.

ciao Anto

More information about the Pypy-dev mailing list