Closed
Bug 46711
Opened 24 years ago
Closed 24 years ago
nsStringKey is too big
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: warrensomebody, Assigned: warrensomebody)
Details
(Keywords: memory-footprint, Whiteboard: [nsbeta3+])
From the footprint meeting 7/26/00: Rick discovered that nsStringKey contains an nsAutoString. Although this is a fine thing for lookup where string keys are usually stack allocated, it's a bad thing when nsStringKeys get cloned and actually stored in hashtables (they're 154 bytes each!). This is bloating *all* of our hashtables. Ideas: Make 2 classes of nsStringKey and return the smaller one from Clone. Maybe put the string key strings in an arena.
Comment 1•24 years ago
|
||
I rant about this now and then, adding myself to CC
Assignee | ||
Updated•24 years ago
|
Assignee | ||
Updated•24 years ago
|
Whiteboard: [nsbeta3+]
Assignee | ||
Comment 2•24 years ago
|
||
Fixed a couple of days ago.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 3•24 years ago
|
||
please everify
Marking Verified. Please reopen if problem reoccurs.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•