Efficient bit count.
More...
More or less fast bit count (also known as popcount) extension for default int.
int
import 'package:bitcount/bitcount.dart'; void main() { print(32.bitCount()); // 1 print((32 - 1).bitCount()); // 5 }
MIT
unverified uploader
Repository (GitHub)View/report issues
unknown (license)
Packages that depend on bitcount
Back