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

Mark Dickinson report at bugs.python.org
Fri May 29 06:38:02 EDT 2020


Mark Dickinson <dickinsm at gmail.com> added the comment:

> FYI, printing this 60 Million digit number took about 12 hours on my i7.

That sounds about right: on my machine, it takes around 10 seconds to convert a 1 million-digit number to a string. Multiplying by 60**2 gives 10 hours.

I do have to wonder what you're doing with all those digits now that you have them, though ...

----------

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


More information about the Python-bugs-list mailing list