An example speed comparison of matrix elementwise multiplication in Python, C, and Numpy
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
README.md
__init__.py
main.py
multiplication.pyx
multiply.c
multiply.py
multiply.so
setup.py

README.md

speed_test

An example speed comparison of matrix elementwise multiplication in Python, C, and Numpy

To run on a mac, compile the c with: $ gcc -shared -Wl,-install_name,multiply.so -o multiply.so -fPIC multiply.c Then run python main.py