|
|
|
|
|
by masklinn
1512 days ago
|
|
That's exactly it. Although this becomes more complicated because printf-style string formatting is not free (though it's the cheapest of all methods save fstrings if I remember correctly), and because python does not support lazy parameters if `foo` is a non-trivial expression odds are good it will far outcost either formatting. |
|