Expand description

This module provides the bisect function, which implements binary search.

Functions

This function implements both bisect_left and bisect_right, having the same semantics with the Python Standard Library. To use bisect_left, supply true as the template argument. To use bisect_right, supply false as the template argument.