mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-04 10:50:54 +01:00
Update rfcs/function-bit32-countlz-countrz.md
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
parent
00bde780bf
commit
1148a29c25
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ All CPUs have instructions to determine the position of first/last set bit in an
|
|||
- Scanning set bits in an integer, which allows efficient traversal of compact representation of bitmaps
|
||||
- Allocating bits out of a bitmap quickly
|
||||
|
||||
Today it's possible to approximate `countlz` using `floor` and `log` but this approximation is relatively slow; approximating `ccountrz` is difficult without iterating through each bit.
|
||||
Today it's possible to approximate `countlz` using `floor` and `log` but this approximation is relatively slow; approximating `countrz` is difficult without iterating through each bit.
|
||||
|
||||
## Design
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue