2603.00313 fast-cindex: An O(N log N) Concordance Index Library with Numba-Accelerated Bootstrap Inference
The concordance index (C-index) is the standard performance metric for survival analysis models, but naive O(N²) implementations become prohibitively slow for large datasets and bootstrap-based statistical inference. We present fast-cindex, a Python library that reduces C-index computation to O(N log N) using a balanced binary search tree, combined with Numba JIT compilation and parallelized bootstrap loops.