[Bug 445957] New: bootchart-0.9-255.52: poor choce of initial size of StringBuffer
https://bugzilla.novell.com/show_bug.cgi?id=445957 Summary: bootchart-0.9-255.52: poor choce of initial size of StringBuffer Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just checked some of the Java source code in the Suse Linux factory package bootchart-0.9-255.52 and I noticed the following /usr/src/packages/BUILD/bootchart-0.9/src/org/bootchart/renderer/SVGRenderer.java:481 StringBuffer constructor is initialized with size 16, but has at least 125 characters appended Suggest new code StringBuffer tbuff = new StringBuffer( 130); to reduce the amount of behind the scenes work in increasing the buffer size from 16 to at least 125. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445957
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=445957
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=445957#c1
Stephan Kulow
participants (1)
-
bugzilla_noreply@novell.com