def get_sort_func(is_float, is_argsort=False):
 key = (is_float, is_argsort)
 try:
  return _sorts[key]
 except KeyError:
  sort = quicksort.make_jit_quicksort(lt=(lt_floats if is_float else None), is_argsort=is_argsort)
  func = _sorts[key] = sort.run_quicksort
  return func

def get_sort_func ( is_float , is_argsort = False ) : key = ( is_float , is_argsort ) try : return _sorts [ key ] except KeyError : sort = quicksort . make_jit_quicksort ( lt = ( lt_floats if is_float else None ) , is_argsort = is_argsort ) func = _sorts [ key ] = sort . run_quicksort return func
get a sort implementation of the given kind .