Bug 264041
| Summary: | countTrailingZeros is redundant and slower than ctz | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Seija K. <gfunni234> |
| Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Seija K.
In addition to being redundant because of ctz existing, the lookup table in itself is slower due to the operations happening to the variable v before retrieving the value. Source: https://godbolt.org/z/Pnd9nPPbo
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
EWS
Committed 270076@main (37c77f48561a): <https://commits.webkit.org/270076@main>
Reviewed commits have been landed. Closing PR #19840 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/117813174>