Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcusgrass/python-external-cpp
A test using code written in cpp as python libraries for benchmarking efficiency differences
https://github.com/marcusgrass/python-external-cpp
Last synced: 21 days ago
JSON representation
A test using code written in cpp as python libraries for benchmarking efficiency differences
- Host: GitHub
- URL: https://github.com/marcusgrass/python-external-cpp
- Owner: MarcusGrass
- License: mit
- Created: 2018-09-02T09:40:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-02T09:49:27.000Z (over 6 years ago)
- Last Synced: 2024-11-08T05:12:37.568Z (2 months ago)
- Language: Python
- Size: 64.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# python-external-cpp
A test using code written in cpp as python libraries for benchmarking efficiency differencesA small test for the speed differences of large calculations between functions built natively in Python vs imported compiled cpp code as libraries.
Results on finding primes show that the cpp imported library is 2-3 times faster for computing primes than python native functions.
Using python 3.6.6.Almost no requirements necessary, if recompiling is necessary see instructions for how to do it and rename the path to the compiled
library in the imports section of benchmark.py