Package Info

perl-Heap


Perl extensions for keeping data partially sorted


Development/Libraries/Perl

The Heap collection of modules provide routines that manage a heap of elements. A heap is a partially sorted structure that is always able to easily extract the smallest of the elements in the structure (or the largest if a reversed compare routine is provided).

If the collection of elements is changing dynamically, the heap has less overhead than keeping the collection fully sorted.

The elements must be objects as described in "Heap::Elem" and all elements inserted into one heap must be mutually compatible - either the same class exactly or else classes that differ only in ways unrelated to the Heap::Elem interface.


License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/Heap

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.80-bp155.1.5 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Heap