Skip to content
Permalink
Browse files

refactor(router): separate router and scoring logics

  • Loading branch information...
hanxiao committed Aug 28, 2019
1 parent 1ac8e6f commit bae75b8cff1a306782e3f97c36455944d338b168
Showing with 8 additions and 18 deletions.
  1. +4 −12 gnes/indexer/chunk/bindexer/bindexer.pyx
  2. +4 −6 gnes/indexer/chunk/hbindexer/hbindexer.pyx
@@ -19,18 +19,10 @@

# pylint: disable=low-comment-ratio

from cpython cimport

array
from cpython.mem cimport

PyMem_Malloc, PyMem_Realloc, PyMem_Free
from libc.stdio cimport

fopen, fclose, FILE, fwrite, fread
from libc.stdlib cimport

qsort
from cpython.mem cimport PyMem_Malloc, PyMem_Realloc, PyMem_Free
from cpython cimport array
from libc.stdlib cimport qsort
from libc.stdio cimport fopen, fclose, FILE, fwrite, fread

cdef extern from "limits.h":
cdef int USHRT_MAX
@@ -20,12 +20,10 @@
# pylint: disable=low-comment-ratio


from cpython cimport

array
from cpython.mem cimport

PyMem_Malloc, PyMem_Realloc, PyMem_Free
from cpython.mem cimport PyMem_Malloc, PyMem_Realloc, PyMem_Free
from cpython cimport array
from libc.stdlib cimport qsort
from libc.stdio cimport fopen, fclose, FILE, fwrite, fread


cdef extern from "limits.h":

0 comments on commit bae75b8

Please sign in to comment.
You can’t perform that action at this time.