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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.06_2 | 0.06_2 | 0.06_2 | 0.06_2 | 0.06_2 |
| FreeBSD:14:quarterly | 0.06_2 | 0.06_2 | n/a | 0.06_2 | 0.06_2 |
| FreeBSD:15:latest | 0.06_2 | 0.06_2 | n/a | 0.06_2 | 0.06_2 |
| FreeBSD:15:quarterly | 0.06_2 | 0.06_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.06_2 | 0.06_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
p5-Convert-Bencode>=0: converters/p5-Convert-Bencode
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
| Option | Default | Description |
|---|---|---|
| EXAMPLES | off | Build 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
| File | Size | SHA256 |
|---|---|---|
| Convert-Bencode_XS-0.06.tar.gz | 8926 | 3b7aa07abefce56ea2416f8f7f20afcc95d7003e326f4173bc9874f125d75b6d |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.