FreeBSD.software
Home/math/p5-Set-IntSpan-Fast

p5-Set-IntSpan-Fast

1.15_1math

Fast handling of sets containing integer spans

The Set::IntSpan module represents sets of integers as a number of inclusive ranges, for example '1-10,19-23,45-48'. Because many of its operations involve linear searches of the list of ranges its overall performance tends to be proportional to the number of distinct ranges. This is fine for small sets but suffers compared to other possible set representations (bit vectors, hash keys) when the number of ranges grows large. Set::IntSpan::Fast tries to fix that.

$pkg install p5-Set-IntSpan-Fast
metacpan.org/release/Set-IntSpan-Fast
Origin
math/p5-Set-IntSpan-Fast
Size
31.6KiB
License
not specified
Maintainer
perl@FreeBSD.org
Dependencies
2 packages
Required by
0 packages

Dependencies (2)