slackbuilds/perl/perl-Set-IntSpan
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README
perl-Set-IntSpan.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
perl-Set-IntSpan.info
slack-desc perl/perl-Set-IntSpan: Fix slack-desc. 2020-01-12 08:47:36 +07:00

README

perl-Set-IntSpan   Manages sets of integers

Set::IntSpan manages sets of integers. It is optimized for sets that
have long runs of consecutive integers. These arise, for example, in 
.newsrc files, which maintain lists of articles:

alt.foo: 1-21,28,31
alt.bar: 1-14192,14194,14196-14221

A run of consecutive integers is also called a span.

Sets are stored internally in a run-length coded form. This provides
for both compact storage and efficient computation. In particular, set
operations can be performed directly on the encoded representation.