[webkit-changes] [WebKit/WebKit] 033ade: Make SIMD using table lookup
Yusuke Suzuki
noreply at github.com
Thu Jul 4 12:22:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 033adec3616bdf5bcfdd1e7fb279e329f0384901
https://github.com/WebKit/WebKit/commit/033adec3616bdf5bcfdd1e7fb279e329f0384901
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-07-04 (Thu, 04 Jul 2024)
Changed paths:
M Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp
Log Message:
-----------
Make SIMD using table lookup
https://bugs.webkit.org/show_bug.cgi?id=276213
rdar://problem/131089475
Reviewed by Justin Michaud.
Use https://lemire.me/blog/2024/06/08/scan-html-faster-with-simd-instructions-chrome-edition/ 's simple table-lookup approach instead of naive compare-chains.
* Source/WebCore/html/parser/HTMLDocumentParserFastPath.cpp:
(WebCore::HTMLFastPathParser::scanText):
(WebCore::HTMLFastPathParser::scanAttributeValue):
Canonical link: https://commits.webkit.org/280670@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