Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
refactor(router): separate router and scoring logics
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Aug 28, 2019
1 parent 1ac8e6f commit bae75b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
16 changes: 4 additions & 12 deletions gnes/indexer/chunk/bindexer/bindexer.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 4 additions & 6 deletions gnes/indexer/chunk/hbindexer/hbindexer.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit bae75b8

Please sign in to comment.