NEW122850
Avoid iterating over all the isolate characters
https://bugs.webkit.org/show_bug.cgi?id=122850
Summary Avoid iterating over all the isolate characters
Ryosuke Niwa
Reported 2013-10-15 12:20:06 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/496b731fbfccba1a4ac26e44a34e0e8ea70b0a80 Isolate elements are treated as neutral in UBA however Blink UBA implementation iterates over all the isolate characters. The purpose of this patch is reduce the algorithm complexity skipping isolate elements when found in the UBA. Additionaly, rename the pastEnd variable to lastParagraphEnded.
Attachments
Note You need to log in before you can comment on or make changes to this bug.