FreeBSD Ports

converters/p5-Convert-Bencode_XS 0.06_2

Faster conversions to/from Bencode format

Repository
FreeBSD ports
Maintainer
[email protected]
Categories
converters, perl5
Package size
12.8 KiB, 23.6 KiB installed

Description

Convert::Bencode_XS exists for a couple of reasons, first of all performance. Especially bdecode() is between 10 and 200 times faster than Convert::Bencode version (depending on file): the great speed increase is in part due to the iterative algorithm used. bencode() is written in C for better performance, but it still uses a recursive algorithm. It manages to be around 3 to 5 times faster than Convert::Bencode version. Check out the "extras" directory in this distribution for benchmarks.

Install

As a binary package — by origin, or by package name:

pkg install converters/p5-Convert-Bencode_XS
pkg install p5-Convert-Bencode_XS

From the ports tree:

cd /usr/ports/converters/p5-Convert-Bencode_XS/ && make install clean

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

RUN_DEPENDS=	p5-Convert-Bencode_XS>0:converters/p5-Convert-Bencode_XS

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.06_20.06_20.06_20.06_20.06_2
FreeBSD:14:quarterly0.06_20.06_2n/a0.06_20.06_2
FreeBSD:15:latest0.06_20.06_2n/a0.06_20.06_2
FreeBSD:15:quarterly0.06_20.06_2n/an/an/a
FreeBSD:16:latest0.06_20.06_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

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

All build dependencies 1
All run dependencies 2

No port depends on this one.

Configuration

Options name: converters_Convert-Bencode_XS

OptionDefaultDescription
EXAMPLESoffBuild and/or install examples
USES
perl5 shebangfix
Service scripts
none

Files

pkg-plist 5
  • %%SITE_ARCH%%/Convert/Bencode_XS.pm
  • %%SITE_ARCH%%/auto/Convert/Bencode_XS/Bencode_XS.so
  • %%PERL5_MAN3%%/Convert::Bencode_XS.3.gz
  • share/examples/p5-Convert-Bencode_XS/bench_decode.pl
  • share/examples/p5-Convert-Bencode_XS/bench_encode.pl
distinfo 1
FileSizeSHA256
Convert-Bencode_XS-0.06.tar.gz89263b7aa07abefce56ea2416f8f7f20afcc95d7003e326f4173bc9874f125d75b6d
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.