summaryrefslogtreecommitdiff
path: root/sa-extract/csuf.pxd
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-07-25 23:40:06 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-07-25 23:40:06 -0400
commit717136fff09cde560d0bb0fea93a3527708d5d15 (patch)
tree53d5b4587d82dd5c10cb45a0e33aabd2cc0b166e /sa-extract/csuf.pxd
parenteeef93717fed2901f6fcd2e3fd11118e0e309af7 (diff)
maybe faster
Diffstat (limited to 'sa-extract/csuf.pxd')
-rw-r--r--sa-extract/csuf.pxd5
1 files changed, 3 insertions, 2 deletions
diff --git a/sa-extract/csuf.pxd b/sa-extract/csuf.pxd
index f44167dd..972f0178 100644
--- a/sa-extract/csuf.pxd
+++ b/sa-extract/csuf.pxd
@@ -5,7 +5,8 @@ cdef class SuffixArray:
cdef cdat.DataArray darray
cdef cintlist.CIntList sa
cdef cintlist.CIntList ha
+ # cdef lookup(self, word, int offset, int low, int high)
cdef __lookup_helper(self, int word_id, int offset, int low, int high)
cdef __get_range(self, int word_id, int offset, int low, int high, int midpoint)
- cdef __search_low(self, int word_id, int offset, int low, int high)
- cdef __search_high(self, word_id, offset, low, high)
+ cdef int __search_low(self, int word_id, int offset, int low, int high)
+ cdef int __search_high(self, int word_id, int offset, int low, int high)