Closed
Bug 13400
Opened 25 years ago
Closed 25 years ago
should cache string bundles
Categories
(MailNews Core :: Composition, defect, P3)
Tracking
(Not tracked)
VERIFIED
WONTFIX
M12
People
(Reporter: Bienvenu, Assigned: rhp)
References
Details
(Whiteboard: [Perf])
I believe we can get a performance win by caching string bundles instead of loading the string resource file every time we need a string. These are the two calls that create string bundles that could cache them. I've fixed the leak of the string bundles. nsMsgComposeStringBundle.cpp(64): res = sBundleService->CreateBundle(propertyURL, locale, &sBundle); nsMsgComposeStringBundle.cpp(80): res = sBundleService->CreateBundle(url, locale, &sBundle);
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M12
Updated•25 years ago
|
Assignee: ducarroz → rhp
Status: ASSIGNED → NEW
Comment 3•25 years ago
|
||
Reassign to Rich as he implemented StringBundle in msgCompose...
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 4•25 years ago
|
||
I have two bugs related to cacheing of string bundles. This one and one for libmime. Reworking this code to cache the string bundle wouldn't really give us any sort of performance win because the only time these calls are made are during error conditions. (i.e. display error to user). The libmime issues are valid since they are called much more frequently, but this would be a lot of work for little gain, so I am marking WONTFIX. - rhp
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•