Use memory views rather than old-style buffers for ~5-10% performance boost.
Lift division out of loop in _isotonic_regression.

    I'm surprised the C compiler doesn't do this, but it seems
    to make a difference in the benchmarks.