mikomikotaishi wrote:

Fstrings provide a considerable performance increase over % and str.format(), 
to my knowledge (% must perform type checks, fstrings are optimised due to 
being core grammar features, and avoid additional function calls unlike % and 
str.format()).

I personally think being able to read the string with the interpolated 
variables at site is simpler than tracking them in order of arguments.

https://github.com/llvm/llvm-project/pull/173861
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to