WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
292607
[WTF] Use `std::countl_zero` in `fastLog2` to improve readability and performance
https://bugs.webkit.org/show_bug.cgi?id=292607
Summary
[WTF] Use `std::countl_zero` in `fastLog2` to improve readability and perform...
Keita Nonaka
Reported
2025-05-06 06:38:45 PDT
Use std::countl_zero to simplify the code and improve performance. std::countl_zero provides a more efficient and readable approach compared to manually branching for leading zero counts. This change is expected to improve both code readability and potential runtime efficiency.
Attachments
Add attachment
proposed patch, testcase, etc.
Keita Nonaka
Comment 1
2025-05-06 06:44:32 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/45003
EWS
Comment 2
2025-05-07 07:30:32 PDT
Committed
294620@main
(df226e8e58a5): <
https://commits.webkit.org/294620@main
> Reviewed commits have been landed. Closing PR #45003 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-05-07 07:31:17 PDT
<
rdar://problem/150851747
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug