StringUtils#format is slow because it uses pattern matching under the covers to replace the format string with the variables.
Since this is called in a loop from InputSourceProcessor#process we should see a perf gain by switching this to using a StringBuilder or String addition instead.
StringUtils#format is slow because it uses pattern matching under the covers to replace the format string with the variables.
Since this is called in a loop from InputSourceProcessor#process we should see a perf gain by switching this to using a StringBuilder or String addition instead.