DESCR 464 B

123456789101112
  1. Set::IntSpan manages sets of integers. It is optimized for sets that
  2. have long runs of consecutive integers. These arise, for example, in
  3. .newsrc files, which maintain lists of articles:
  4. alt.foo: 1-21,28,31
  5. alt.bar: 1-14192,14194,14196-14221
  6. Sets are stored internally in a run-length coded form. This provides
  7. for both compact storage and efficient computation. In particular,
  8. set operations can be performed directly on the encoded
  9. representation.