[bisq-network/bisq] Optimize some hotspots (#3214)

Christoph Sturm notifications at github.com
Fri Sep 6 12:50:39 UTC 2019


I think {} is for objects that have an expensive toString method. the parameters of the log call will always be evaluated, but the toString will only be called when the string is actually assembled.
 btw in kotlin logging you can just do `log.debug { "a"+ "b"}` maybe theres a logging lib for java with a similar syntax.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/3214#issuecomment-528841757
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190906/28d61b00/attachment.html>


More information about the bisq-github mailing list