Commit f8eac3bb by Eric Coissac

Add some cython optimisation flags

parent 85ea5de9
# cython: language_level=3
#cython: language_level=3, boundscheck=False, wraparound=False
from ._ahocorasick cimport *
from orgasm.apps.progress cimport ProgressBar
......@@ -709,7 +709,7 @@ cdef class AhoCorasick:
#cython: initializedcheck=False
cpdef dict match(self,bytes sequence):
cdef char* csequence = sequence
cdef size_t lseq = len(sequence)
......@@ -749,12 +749,6 @@ cdef class AhoCorasick:
state = nstate
return results
cpdef DiGraphMultiEdge asGraph(self):
cdef DiGraphMultiEdge g
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment