Closed Bug 96464 Opened 18 years ago Closed 18 years ago

nsComponentManager::nsFactoryEntry Eliminate strings type (for enum) and location

Categories

(Core :: XPCOM, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 96701
mozilla0.9.5

People

(Reporter: dp, Assigned: dp)

References

Details

(Keywords: perf)

We create about 700 nsFactoryEntries. With an average lenght of 16 bytes per
location entry and 32 bytes for the native component type, this amounts to

- 1400 allocations
- 33k of space : 700*(16+32)
- 1400 string copies
Blocks: 7251
Status: NEW → ASSIGNED
Keywords: perf
Target Milestone: --- → mozilla0.9.5
Priority: -- → P3

*** This bug has been marked as a duplicate of 96701 ***
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.