Ronald Oussoren added the comment: The attached micro benchmark indicates that method_cache in typeobject.c isn't used when using my patch. I'll have too look into that.
Other than that benchmarks results look OK (but: not using the method_cache is unacceptable as this most definitely changes performance). What is kind of scary, but is to be expected I guess, is that a __getdescriptor__ method in Python is awfully slow. I have to look into why this is slow, as the slowdown for using Python is significantly worse than I expected. ---------- Added file: http://bugs.python.org/file40013/pep447-micro-bench.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18181> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com