BSD Ports

math/p5-Set-IntSpan 1.19_1 DragonFly

Manages sets of integers

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
math, perl5
Package size
24.6 KiB, 67.2 KiB installed

Description

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

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.

In the other systems

SystemPortVersion
DragonFlymath/p5-Set-IntSpan1.19_1
FreeBSDmath/p5-Set-IntSpan1.19_1
OpenBSDmath/p5-Set-IntSpan1.19p0
NetBSDdevel/p5-Set-IntSpan1.19nb13
MidnightBSDmath/p5-Set-IntSpan1.19_1

Install

Binary package:

pkg install p5-Set-IntSpan

From DPorts:

cd /usr/dports/math/p5-Set-IntSpan && make install clean

Dependencies

Run dependencies 1