Closed betterenvi closed 6 years ago
Speed up _search_node
_search_node
0th
heap[0]
min(heap)
Add code to run test script
Merged, thanks!
What this PR does:
Speed up
_search_node
0th
element of a heap is the smallest one, we can useheap[0]
directly instead ofmin(heap)
._search_node
, when checking whether to search the other side of a plane, the original condition is always true.Add code to run test script