Open
Bug 1183303
Opened 9 years ago
Updated 2 years ago
make RoleDescrMap efficent
Categories
(Core :: Disability Access APIs, defect, P5)
Core
Disability Access APIs
Tracking
()
NEW
People
(Reporter: surkov, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
spun off bug 1150510 comment #40:
"So I believe that does fix a bug, but in a very inefficient way. Now at start up you'll construct a bunch of strings that each own a string buffer holding a copy of the constant strings. So you'll do a bunch of mallocing and copying for no useful purpose. Instead I think you could use nsDependantString or just store a char16_t * pointing at the constant and then create a temporary nsString when and if if you need it to pass to the TranslateString function."
Trev, putting your name as a mentor, in case if somebody picks it up before us.
Reporter | ||
Updated•7 years ago
|
Whiteboard: [mentor=:tbsaunde]
Reporter | ||
Comment 1•7 years ago
|
||
Curious, if copy indeed happens or the compiler is smart enough to avoid it.
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•