The way strings are rendered could be further optimized with a faster algo once their total length is established. For instance, smart string truncation could be implemented.
This could also be useful for highlighting results when using #10
But the simplest solution would be to, by default, truncate the string in the middle when it is smaller than a certain size