Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Consecutive calls to StringBuffer/StringBuilder .append should be chained, reusing the target object. This can improve the performance by producing a smaller bytecode, reducing overhead and improving inlining.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-16029 Consecutive StringBuilder.append can be reused
- Resolved