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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Heap-Simple | 0.13_1 |
| DragonFly | devel/p5-Heap-Simple | 0.13_1 |
| HardenedBSD | devel/p5-Heap-Simple | 0.13_1 |
| GhostBSD | devel/p5-Heap-Simple | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.13_1 | 0.13_1 | 0.13_1 | 0.13_1 | 0.13_1 |
| FreeBSD:14:quarterly | 0.13_1 | 0.13_1 | n/a | 0.13_1 | 0.13_1 |
| FreeBSD:15:latest | 0.13_1 | 0.13_1 | n/a | 0.13_1 | 0.13_1 |
| FreeBSD:15:quarterly | 0.13_1 | 0.13_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.13_1 | 0.13_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
Required by 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Message after installing
Files
pkg-plist 3
- %%PERL5_MAN3%%/Heap::Simple.3.gz
- %%SITE_PERL%%/Heap/Simple.pm
- %%SITE_PERL%%/Heap/Simple/Package.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Heap-Simple-0.13.tar.gz | 16244 | a6a720764580081de6086e1bfab606accc1a388a88e47adaa38abe49787ca71b |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.