| 1 |
Set::IntSpan - manage sets of integers |
| 2 |
|
| 3 |
DESCRIPTION |
| 4 |
Set::IntSpan manages sets of integers. It is optimized for sets that |
| 5 |
have long runs of consecutive integers. These arise, for example, in |
| 6 |
.newsrc files, which maintain lists of articles: |
| 7 |
|
| 8 |
alt.foo: 1-21,28,31 |
| 9 |
alt.bar: 1-14192,14194,14196-14221 |
| 10 |
|
| 11 |
Sets are stored internally in a run-length coded form. This provides |
| 12 |
for both compact storage and efficient computation. In particular, |
| 13 |
set operations can be performed directly on the encoded |
| 14 |
representation. |
| 15 |
|
| 16 |
|
| 17 |
HOW TO BUILD AND INSTALL |
| 18 |
perl Makefile.PL |
| 19 |
make |
| 20 |
make test |
| 21 |
make install |
| 22 |
|
| 23 |
|
| 24 |
TODO |
| 25 |
Nothing planned. |
| 26 |
Send suggestions, bugs, etc. to [email protected] |
| 27 |
|
| 28 |
|
| 29 |
COPYRIGHT |
| 30 |
Copyright (c) 1996-2013 by Steven McDougall. This module is free |
| 31 |
software; you can redistribute it and/or modify it under the same |
| 32 |
terms as Perl itself. |