BSD Ports

converters/p5-Convert-Bencode_XS 0.06_2 DragonFly

Faster conversions to/from Bencode format

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
converters, perl5
Package size
12.4 KiB, 24.0 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.

In the other systems

SystemPortVersion
DragonFlyconverters/p5-Convert-Bencode_XS0.06_2
FreeBSDconverters/p5-Convert-Bencode_XS0.06_2
HardenedBSDconverters/p5-Convert-Bencode_XS0.06_2
GhostBSDconverters/p5-Convert-Bencode_XS0.06_2

Install

Binary package:

pkg install p5-Convert-Bencode_XS

From DPorts:

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

Dependencies

Run dependencies 2

No port depends on this one.