[issue40793] print() performance problem with very large numbers

Serhiy Storchaka report at bugs.python.org
Wed May 27 08:24:27 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

It is not a print() problem, it is a problem with converting an integer to decimal string representation. AFAIK it has quadratic complexity from the size of the integer.

----------
nosy: +mark.dickinson, serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40793>
_______________________________________


More information about the Python-bugs-list mailing list