BSD Ports

devel/p5-Heap-Simple 0.13_1 FreeBSD

Fast and easy to use classic heaps

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
26.8 KiB, 58.9 KiB installed

Description

A heap is a partially sorted structure where it's always easy to extract the smallest element. If the collection of elements is changing dynamically, a heap has less overhead than keeping the collection fully sorted.

The order in which equal elements get extracted is unspecified.

The main order relations supported by this module are "<" (numeric compare) and "lt" (string compare).

The internals of the module do nothing with the elements inserted except inspecting the key. This means that if you for example store a blessed object, that's what you will get back on extract. It's also ok to keep references to the elements around and make changes to them while they are in the heap as long as you don't change the key.

Heap::Simple itself is just a loader for the code that will actually implement the functionality mentioned above. You will need to install something like Heap::Simple::XS or Heap::Simple::Perl to be able to actually do anything.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Heap-Simple0.13_1
DragonFlydevel/p5-Heap-Simple0.13_1
HardenedBSDdevel/p5-Heap-Simple0.13_1
GhostBSDdevel/p5-Heap-Simple0.13_1

Install

Binary package:

pkg install p5-Heap-Simple

From the ports tree:

cd /usr/ports/devel/p5-Heap-Simple/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Heap-Simple>0:devel/p5-Heap-Simple

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.13_10.13_10.13_10.13_10.13_1
FreeBSD:14:quarterly0.13_10.13_1n/a0.13_10.13_1
FreeBSD:15:latest0.13_10.13_1n/a0.13_10.13_1
FreeBSD:15:quarterly0.13_10.13_1n/an/an/a
FreeBSD:16:latest0.13_10.13_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Message after installing

This module is useless by itself!  It requires one or both of:

- devel/p5-Heap-Simple-Perl (a pure perl implementation of the interface)
- devel/p5-Heap-Simple-XS (an XS implementation of the interface.)

Please take the time to install one or both of these now.

Files

pkg-plist 3
  • %%PERL5_MAN3%%/Heap::Simple.3.gz
  • %%SITE_PERL%%/Heap/Simple.pm
  • %%SITE_PERL%%/Heap/Simple/Package.pm
distinfo 1
FileSizeSHA256
Heap-Simple-0.13.tar.gz16244a6a720764580081de6086e1bfab606accc1a388a88e47adaa38abe49787ca71b
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.