|
|
|
|
|
by Zak
75 days ago
|
|
I find that decision a bit odd given that accumulating a string with a loop is also quadratic in Python if you use = instead of +=, or even if you use += when the left operand isn't provably unshared. I don't believe removing loops was seriously considered. The footgun isn't `reduce` in particular, but failing to use `join`. |
|