mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
062cfc14f2
Turns out that `nsFind::BreakInBetween()` is called a lot, especially for large documents. If `nsFind::Find()` is then called in a loop (e.g. for creating a text directive), the alloc cost for the word segmenter shows up in profiles. This can be avoided by having the segmenter be a member of `nsFind`. Differential Revision: https://phabricator.services.mozilla.com/D227804 |
||
---|---|---|
.. | ||
crashtests | ||
gtest | ||
tools | ||
jisx4051class.h | ||
jisx4051pairtable.txt | ||
LineBreakCache.cpp | ||
LineBreakCache.h | ||
LineBreaker.cpp | ||
LineBreaker.h | ||
moz.build | ||
nsCarbonBreaker.cpp | ||
nsComplexBreaker.cpp | ||
nsComplexBreaker.h | ||
nsLWBrkCIID.h | ||
nsPangoBreaker.cpp | ||
nsRuleBreaker.cpp | ||
nsUniscribeBreaker.cpp | ||
rulebrk.c | ||
rulebrk.h | ||
Segmenter.cpp | ||
Segmenter.h | ||
th_char.h | ||
WordBreaker.cpp | ||
WordBreaker.h |