Project

General

Profile

bug #9147

Updated by Andreas Müller about 4 years ago

Use `String.join()` or one of the `org.apache.commons.lang3.StringUtils.join(..)` methods instead. These methods are making explicit use of the `StringBuffer` class. `CdmUtils.concat()` can not be optimized by the jit, so for each string item the new String object needs to be extended to new length, which is known to be a performance penalty. 


 ~~The The `CdmUtils.concat()` methods have been deprecated now.~~ now.

Back