Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 3fdb8cf70b8a1a20f2bf782f1690b6cd3eb9ee08 https://github.com/WebKit/WebKit/commit/3fdb8cf70b8a1a20f2bf782f1690b6cd3eb9ee08 Author: Brent Fulgham <bfulg...@apple.com> Date: 2023-02-16 (Thu, 16 Feb 2023)
Changed paths: M Source/WebCore/platform/LayoutUnit.h Log Message: ----------- Use shifts to speedup floor() and round() https://bugs.webkit.org/show_bug.cgi?id=250523 <rdar://problem/104441420> Reviewed by Chris Dumez. Suggested by Ahmad Saleem, based on the 2014 Blink patch in https://chromium.googlesource.com/chromium/blink/+/143faa0607149758526318a98757a3055197cb0f * Source/WebCore/platform/LayoutUnit.h: (WebCore::LayoutUnit::round const): (WebCore::LayoutUnit::floor const): Canonical link: https://commits.webkit.org/260422@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes