[webkit-changes] [WebKit/WebKit] a7f897: Reduce conditional checks for ICU line-breaking.

fantasai noreply at github.com
Fri May 24 08:58:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a7f897f869aa664a64619ed5d937ab9f84944b2f
      https://github.com/WebKit/WebKit/commit/a7f897f869aa664a64619ed5d937ab9f84944b2f
  Author: Elika Etemad <fantasai.bugs at inkedblade.net>
  Date:   2024-05-24 (Fri, 24 May 2024)

  Changed paths:
    M Source/WebCore/rendering/BreakLines.h

  Log Message:
  -----------
  Reduce conditional checks for ICU line-breaking.
https://bugs.webkit.org/show_bug.cgi?id=273793
rdar://127789075

Reviewed by Yusuke Suzuki.

Pulls a start-condition conditional out of the loop,
and adds a fast-forward inner loop for ICU line breaking.

Also fixes an integer type mismatch.

* Source/WebCore/rendering/BreakLines.h:
(WebCore::BreakLines::nextBreakablePosition): Add fast-forward loop.

Canonical link: https://commits.webkit.org/279271@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list