Skip to content

Commit

Permalink
Merge pull request pandas-dev#530 from bashtage/enable-cython-perf-op…
Browse files Browse the repository at this point in the history
…tions

PERF: Disable boundscheck and wrap around
  • Loading branch information
jamesblackburn committed Apr 10, 2018
2 parents 4a45357 + a2ccc43 commit 51389a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/_compress.pyx
Expand Up @@ -141,6 +141,8 @@ def compressarrHC(pStrList):
return _compressarr(pStrList, LZ4_compressHC)


@cython.boundscheck(False)
@cython.wraparound(False)
cdef _compressarr(pStrList, int (*Fnptr_LZ4_compress)(const char *, char *, int) nogil):

if len(pStrList) == 0:
Expand Down

0 comments on commit 51389a3

Please sign in to comment.