Created
April 17, 2019 16:36
-
-
Save libbkmz/3825d11ca1089db65b228b57f5e592da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cimport cython | |
# USE cmdline below to build extension | |
# python setup.py build_ext --inplace --force | |
import numpy as np | |
cimport numpy as cnp | |
from libc.stdlib cimport rand, srand, RAND_MAX | |
cdef extern from "<Windows.h>": | |
void DebugBreak() | |
# @cython.profile(True) | |
# @cython.linetrace(True) | |
# @cython.embedsignature (True) | |
# @cython.binding(True) | |
@cython.boundscheck (False) | |
@cython.wraparound (False) | |
@cython.cdivision(True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment