зеркало из https://github.com/mozilla/gecko-dev.git
a7d756b8ff
Implements the following optimizations: - Resize the destination buffer to the maximum size possible, write to it directly, and then shrink it back to the actual size written. - Avoid iterating over non-special-character runs multiple times. - Use a lookup table to determine both if we should escape the character what the character after the escape sequence should be if so. - Converts the destination buffer to the correct character type in advance of stringifying, instead of checking every character in the inner loop. MozReview-Commit-ID: 7iWRqm3EopX --HG-- extra : rebase_source : 1b18faee586718ec54b922222a28a31e3899d771 |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
public | ||
src | ||
xpconnect | ||
ffi.configure | ||
moz.build | ||
moz.configure |