libprimesieve 0.1.2

Dart native
Flutter Android iOS

Extremely fast and flexible prime sieve operations; a Dart FFI wrapper for the `primesieve` native library.

libprimesieve for Dart #

This is a wrapper for Kim Walisch's primesieve C/C++ library. It requires the library to already be installed. That library is only available for some platforms, please check availability.

If you have the underlying native library installed, you can add this library as libprimesieve to your Dart package.

Looking for a simpler/pure Dart alternative? #

If you only need primes up to about 1E9 or prefer to have a Dart-only implementation, you may want to try Prime-Sieve-Dart instead, which can be installed with pub as prime-sieve (note the dash).

Please note that the pure Dart alternative is significantly slower and lacks many features.

0
likes
85
pub points
0%
popularity

Extremely fast and flexible prime sieve operations; a Dart FFI wrapper for the `primesieve` native library.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

Marcel.Waldvogel@uni-konstanz.de

License

MIT (LICENSE.md)

Dependencies

args, ffi

More

Packages that depend on libprimesieve