Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous implementation assumed that all `Char` are well-formed, which is of course not guaranteed to be the case (and which is also correctly handled by the existing implementation). On top of that, this is even faster, since counting the number of trailing zeros has hardware support on a wide range of architectures.
- Loading branch information