uses CharSequence.toString()

Fabian Lange lange.fabian at
Fri Jul 29 08:23:31 UTC 2016

this week I learned that while having
append(CharSequence) methods, will invoke toString() on them before
actually appending.
This is especially sad because after having mad the String, write()
will then copy out the chars of the string and then iterate over the
chars individually.

Something an iteration over chars of the CharSequence could have
achieved much better.


More information about the core-libs-dev mailing list