Closed
Bug 869837
Opened 13 years ago
Closed 12 years ago
Replace Assign/AppendLiteral("c") with .Assign/Append('c').
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
DUPLICATE
of bug 869836
People
(Reporter: alfredkayser, Assigned: alfredkayser)
Details
Replace Assign/AppendLiteral("c") with .Assign/Append('c').
This save a string in constant space and instead passing pointer to that string, just pass the char as a direct operand.
http://mxr.mozilla.org/mozilla-central/search?string=AssignLiteral\%28\%22.\%22\%29®exp=1&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
http://mxr.mozilla.org/mozilla-central/search?string=AppendLiteral\%28\%22.\%22\%29®exp=1&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
| Assignee | ||
Comment 1•13 years ago
|
||
Also .Append(".") -> .Append('.')
Also .Assign(".") -> .Assign('.')
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•