RESOLVED FIXED292607
[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
Keita Nonaka
Comment 1 2025-05-06 06:44:32 PDT
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
Note You need to log in before you can comment on or make changes to this bug.