bithacks 1.1.0 copy "bithacks: ^1.1.0" to clipboard
bithacks: ^1.1.0 copied to clipboard

Collection of bit twiddling hacks. Think _popcnt64 or _pdep_u64.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add bithacks

With Flutter:

 $ flutter pub add bithacks

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  bithacks: ^1.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:bithacks/bithacks.dart';
1
likes
160
pub points
0%
popularity

Publisher

verified publisherbramp.net

Collection of bit twiddling hacks. Think _popcnt64 or _pdep_u64.

Repository (GitHub)
View/report issues

Topics

#bit #performance

Documentation

API reference

License

BSD-2-Clause (license)

More

Packages that depend on bithacks