BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-Tree-Node0.08_2
DragonFlydevel/p5-Tree-Node0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.08_20.08_20.08_20.08_20.08_2
FreeBSD:14:quarterly0.08_20.08_2n/a0.08_20.08_2
FreeBSD:15:latest0.08_20.08_2n/a0.08_20.08_2
FreeBSD:15:quarterly0.08_20.08_2n/an/an/a
FreeBSD:16:latest0.08_20.08_2n/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 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
FileSizeSHA256
Tree-Node-0.08.tar.gz424200d3ca6a2b6ea9f76d43d7a31c3c76f638201fa2ce4995b9b086a1919a75cefb3
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.