P5-convert-bencode_xs

Jul 20, 2023

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.



Checkout these related ports:
  • Zbase32 - Base32 Encoder/Decoder
  • Ytnef - Unpack data in MS Outlook TNEF format
  • Yj - Convert between YAML, TOML, JSON, and HCL
  • Yj-bruceadams - Command line tool that converts YAML to JSON
  • Xml2c - Convert an XML file into C struct/string declarations
  • Xdeview - X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Wkhtmltopdf - Convert HTML (or live webpages) to PDF or image
  • Uulib - Library for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Uudeview - Program for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Unix2dos - Convert ASCII newlines between CR/LF and LF
  • Tuc - Text to Unix Conversion
  • Trans - Character encoding converter generator
  • Tnef - Unpack data in MS Outlook TNEF format
  • Ta2as - TASM to AT&T asm syntax converter (GNU AS)
  • Showkey - Display cooked key sequences (keycap-to-keystrokes mappings)