Pyprimesieve

Latest version: v0.1.6

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.1.6

------------------

- Python 3 support
- No longer assume `g++` in `setup.py` but rather tries installing with OpenMP and retries if that fails

0.1.5

------------------

- added to pypi

0.1.4

------------------

- Parallel prime summation is now a class
- Threads calling callback method are NOT synchronized so faster on large input
- Updated README in bench to reflect new timings (small input is slightly worse but large is twice as fast)

0.1.3

------------------

- Fixed compilation warnings
- extern "C"
- Added more information regarding installation to README; updated docstring

0.1.2

------------------

- primes_nth uses callback class instead of creating any PyObjects in order to call primes
- Caused a memory leak and was unnecessary

0.1.1

------------------

- Distutils setup.py: got multithreaded summation compiling with OpenMP
- Removed all code to manually compile executable
- CC and CXX environment variables set to avoid clang (and other non-openmp compilers) use
- Replaced executable code with parallelized function in the actual extension
- Rewrote primes_sum and primes_nth Python functions in C++ and removed Python script completely

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.