[Webkit-unassigned] [Bug 54912] New: Minimize calls to ubrk_setText()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 21 15:22:40 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=54912
Summary: Minimize calls to ubrk_setText()
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Text
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: nholbrook at apple.com
Text requiring ICU line breaking involves many calls to ubrk_setText(), or one per invocation of WebCore::isBreakable(). It should be possible to only call ubrk_setText() once per RenderText.
For example, a test app drawing a paragraph of Japanese text currently requires 164 ubrk_setText() calls, but only one is strictly necessary in this case. A quick benchmark of this case showed a 3% overall speedup over 1000 iterations.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list