I was reading this documentation page, http://developer.android.com/reference/android/util/Log.html.
The section here caught my eye:
Tip: Don't forget that when you make a call like
Log.v(TAG, "index=" + i);
that when you're building the string to pass into Log.d, the compiler uses a StringBuilder and at least three allocations occur: the StringBuilder itself, the buffer, and the String object. Realistically, there is also another buffer allocation and copy, and even more pressure on the gc. That means that if your log message is filtered out, you might be doing significant work and incurring significant overhead.
This implies that the Android compiler is taking string concatenations (+) and converting them into StringBuilder and append statements.
Is my assumption correct or is it still better to use StringBuilder manually instead of string concatenation?