belugabehr commented on pull request #2310: URL: https://github.com/apache/hive/pull/2310#issuecomment-846427159
... continued... That is to say: ```java LOG.info("New Final Path: FS " + fsp.finalPaths[filesIdx]); LOG.info("New Final Path: FS {}", fsp.finalPaths[filesIdx]); ``` These two statements, will always produce the same output (as INFO is on be default in every production under the sun). However, the second one will always have the overhead of having to find the anchor in the format string and then replace it with the value. The first example, there is simply a string concatenation that occurs. This will be faster and I don't find this log particularly hard to read. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org