Debug for str
writes one byte at a time
#26920
Labels
I-slow
Issue: Problems and improvements with respect to performance of generated code.
The
Debug
formatter forstr
outputs one byte at a time to the underlying writer.We could improve this, for example we could skip forward while no escaping is needed, and if we find a char to escape, write the backlog and then write escape for the current char, and continue.
Exploration impl:
The text was updated successfully, but these errors were encountered: