libprimesieve 0.1.1 libprimesieve: ^0.1.1 copied to clipboard
A Dart FFI wrapper for the primesieve native library.
primesieve
for Dart #
This is a wrapper for Kim Walisch's primesieve
C/C++
library.
It requires the library to already be installed.
The library is only available for some platforms, please check
availability.
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.