Open
Bug 2003461
Opened 3 days ago
Updated 1 day ago
Use StringChars instead of JSStringBuilder for toBase64/toHex
Categories
(Core :: JavaScript: Standard Library, enhancement, P1)
Core
JavaScript: Standard Library
Tracking
()
ASSIGNED
People
(Reporter: anba, Assigned: anba)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
No description provided.
| Assignee | ||
Comment 1•3 days ago
|
||
StringChars allows to directly pass the allocated characters to the result JSString*.
Comment 2•3 days ago
|
||
Similar perf (if not better) than my ugly patch. I also like that it localizes the Append code to the ToBase64 function, as that will make SIMD'ing or coaxing the auto-vectorizer easier. I was not liking the circular paths that tracing infallibleAppend was taking me down.
Updated•3 days ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•