I am wondering why repr(int) is faster than str(int). With the following code snippet:
repr(int)
str(int)
ROUNDS = 10000 def concat_strings_str(): re
I just compared the str and repr implementations in the 3.5 branch. See here.
str
repr
There seems to be more checks in str: