devel/p5-Heap-Simple 0.13_1 DragonFly
Fast and easy to use classic heaps
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 26.3 KiB, 59.2 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
The newest version among them is 0.13, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-Heap-Simple | 0.13_1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-Heap-Simple | 0.13_1 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Heap-Simple | 0.13_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Heap-Simple | 0.13_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Heap-Simple
From DPorts:
cd /usr/dports/devel/p5-Heap-Simple && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 1
Required by 2
Configuration
No options to configure.
- Service scripts
- none