Algorithm-InversionList
view release on metacpan or search on metacpan
InversionList.pm view on Meta::CPAN
lists efficient. Generally, if you see long runs of repeated 0 or 1
bits, an inversion list may be appropriate.
This module stores inversion lists in an offset-based format which has
some nice properties, for instance searching is fast and you can
easily do boolean operations on two inversion lists stored in the
offset-based format.
=head2 EXPORT
invlist($DATA): Generate an inversion list from a scalar data string
data_from_invlist(@LIST): Generate the data back from an inversion
list
=head1 AUTHOR
Teodor Zlatanov E<lt>tzz@lifelogs.comE<gt>
=head1 SEE ALSO
( run in 0.987 second using v1.01-cache-2.11-cpan-140bd7fdf52 )