From acae00bbe2c2d43bf0606cd7cc268d93179e077f Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Wed, 25 Jul 2012 23:40:06 -0400 Subject: maybe faster --- sa-extract/csuf.pxd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sa-extract/csuf.pxd') 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) -- cgit v1.2.3