May 26, 2018
Faster conversions to/from Bencode format
ConvertBencode_XS exists for a couple of reasons, first of all performance. Especially bdecode is between 10 and 200 times faster than ConvertBencode 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 ConvertBencode version. Check out the “extras” directory in this distribution for benchmarks.