According to https://dzone.com/articles/jdk-9jep-280-string-concatenations-will-never-be-t, I have the following question:
Should I always use +
instead of StringBuilder
when building/concatenating strings? As I understood, +
uses invokedynamic so it is always faster (and more memory friendly) then StringBuilder
. Is this right?