ComplexTextController: Use std::sort to calculate m_runIndices
Created attachment 401405 [details] Patch
Comment on attachment 401405 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401405&action=review This is probably okay. One perhaps unintended consequence is that these values will no longer be computed lazily. However, most of the time, we iterate through the entire ComplexTextController, so the laziness doesn't buy us much in the common case. So I think this is fine. > Source/WebCore/platform/graphics/ComplexTextController.cpp:156 > + m_runIndices.uncheckedAppend(length - i - 1); This is kind of a neat idea. I like it.
Committed r262803: <https://trac.webkit.org/changeset/262803> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401405 [details].
<rdar://problem/64175319>