Bug 27584 - HTML2TextReader allocates large numbers of String objects very rapidly
Summary: HTML2TextReader allocates large numbers of String objects very rapidly
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2002-12-03 11:06 EST by Adam Kiezun CLA
Modified: 2002-12-10 11:03 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-12-03 11:06:12 EST
HTML2TextReader.processPreformattedText seems to create a new String object for 
every single character ever displayed in a javadoc hover

this adds up to hundreds of kilobytes after just a couple of seconds.
StringBuffer.insert for which the Strings are used accepts chars as well - 
maybe that method could be used intead
Comment 1 Kai-Uwe Maetzel CLA 2002-12-10 11:03:15 EST
Build > 20021210.