Stefan Behnel added the comment:

Here is a straight forward patch that special cases int values in the 
constructor. It gives me a 35% speedup in the benchmark.

----------
keywords: +patch
Added file: http://bugs.python.org/file36687/special_case_int.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22464>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to