devel/p5-Tree-Node 0.08_2 FreeBSD
Memory-efficient tree nodes in Perl
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 20.4 KiB, 51.7 KiB installed
Description
This module implements a memory-efficient node type (for trees, skip lists and similar data structures) for Perl.
You may ask "Why bother implementing an ordered structure such as a tree when Perl has hashes built-in?" Since Perl is optimized for speed over memory usage, hashes (and lists) use a lot of memory.
So the purpose of this package is to provide a simple low-level Node class which can be used as a base class to implement various kinds of tree structures. Each node has a key/value pair and a variable number of "children" pointers.
How nodes are organized or the algorithm used to organize them is for you to implement.
There is no Pure-perl version because this package was written to overcome limitations of Perl.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Tree-Node | 0.08_2 |
| DragonFly | devel/p5-Tree-Node | 0.08_2 |
Install
Binary package:
pkg install p5-Tree-Node
From the ports tree:
cd /usr/ports/devel/p5-Tree-Node/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Tree-Node>0:devel/p5-Tree-Node
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.08_2 | 0.08_2 | 0.08_2 | 0.08_2 | 0.08_2 |
| FreeBSD:14:quarterly | 0.08_2 | 0.08_2 | n/a | 0.08_2 | 0.08_2 |
| FreeBSD:15:latest | 0.08_2 | 0.08_2 | n/a | 0.08_2 | 0.08_2 |
| FreeBSD:15:quarterly | 0.08_2 | 0.08_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.08_2 | 0.08_2 | 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 2
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 3
- %%PERL5_MAN3%%/Tree::Node.3.gz
- %%SITE_ARCH%%/Tree/Node.pm
- %%SITE_ARCH%%/auto/Tree/Node/Node.so
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Tree-Node-0.08.tar.gz | 42420 | 0d3ca6a2b6ea9f76d43d7a31c3c76f638201fa2ce4995b9b086a1919a75cefb3 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.