Skip to content

primesieve-python-2.0.0

Compare
Choose a tag to compare
@kimwalisch kimwalisch released this 23 Nov 14:39
· 112 commits to master since this release

In primesieve-python-2.0.0 the primesieve.primes(n) and primesieve.n_primes(n) functions have been sped up by 3x by using the array module under the hood (instead of python list). Many thanks to @shlomif and Brian Larsen for this feature! Also libprimesieve has been updated to the latest version which should provide significant speedups for many workloads e.g. multi-threading now also works on macOS and Windows.

The API of primesieve-python-2.0.0 is backwards compatible with the previous version. However support for Python 2.7 has been dropped since it is not possible to build a binary wheel for Python 2.7 on Windows using the latest libprimesieve.