vitaliy
08/27/2020, 9:28 AM<http://logger.info|logger.info>("blah $foo $bar")
vs <http://logger.info|logger.info> { "blah $foo $bar" }
. I suppose:
1. in the first case the string template is always constructed
2. in the second one only when the log level is set to make it visible. But there is extra lambda, etc.
Is it something I should worry about under a rather intensive load (backend) or it’s not worth optimizing?oshai
08/27/2020, 6:54 PM