Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get
len(candidates)
and branch based on that
Cython will turn this into a very efficient `switch...case` statement. So this cuts down on the overhead of comparisons and checks (paying them once when computing the length). Then focuses on just checking this C typed integral value for which `case` to run.
- Loading branch information