mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
ad4f267b7a
search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
11 lines
548 B
Plaintext
11 lines
548 B
Plaintext
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.
|
|
|
|
WWW: https://metacpan.org/release/Convert-Bencode_XS
|