зеркало из https://github.com/mozilla/gecko-dev.git
da36d08c94
Single and double character find operations cause a big hit on nsFind, because it usually yields many more occurrences than other queries. But most importantly, it needs to keep iterating each text node much longer than other queries, because there is much less escapes/ loop exits happening. This also fixes the FinderIterator infinite-depth call-stack due to unresolved promises that remain active during the lifetime of the FinderIterator. Unwinding the call-stack properly should save us bytes from the heap. MozReview-Commit-ID: 4K19X0yngC7 --HG-- extra : rebase_source : 1801dc16736d0ff9c7534bdaf3ec5a73b326f244 |
||
---|---|---|
.. | ||
browser | ||
chrome | ||
fennec-tile-testapp | ||
mochitest | ||
reftests | ||
unit | ||
widgets | ||
moz.build |