Skip to content

Latest commit

 

History

History

README.rst

Stars PyPIDownloads PyPI Build Status Coffee

ailist – Augmented Interval List implemented in Cython/C

The Python-based implementation efficiently deals with many intervals.

Benchmark

Test numpy random integers, see benchmarking

Library Function Time (µs)
ncls single overlap 916
quicksect single overlap 1050
pandas single overlap 94
ailist single overlap 30

As of conducting these benchmarks, only ncls and ailist have bulk query functions.

Library Function Time (s) Max Memory (GB)
ncls bulk overlap ~79 >50
ailist bulk overlap ~5.4 ~9

Querying intervals is much faster and more efficient with ailist