I've not yet understood how this relates to the previous implementation, but is `X.indptr[1:] - X.indptr[:-1]` equivalent to `np.diff(X.indptr)`?