Closed Bug 1490973 Opened Last year Closed Last year
_Unescape URL calls Append() too much
46 bytes, text/x-phabricator-request
|Details | Review|
NS_UnescapeURL() perf-sensitive for huge data: URLs. It calls Append() repeatedly and every call check for capacity and aliasing (even though the checks are known to succeed). Also, the zero terminator is written over and over.
Comment on attachment 9008742 [details] Bug 1490973 - Avoid repeatedly calling Append() in NS_UnescapeURL(). Nathan Froyd [:froydnj] has approved the revision.
Attachment #9008742 - Flags: review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/4760a22b8b89 Avoid repeatedly calling Append() in NS_UnescapeURL(). r=froydnj
You need to log in before you can comment on or make changes to this bug.