Hi Anto, On Fri, Feb 17, 2012 at 14:18, Antonio Cuni <[email protected]> wrote: >>>>> def foo(x): > .... return foo.__len__()
How about "return len(foo)" instead? That's even more natural as Python code. But I guess anyway that all three solutions get JIT-compiled to basically the same thing. A bientôt, Armin. _______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
