Talk:Decoding bencoded data with python
Jump to navigation
Jump to search
I wrote my own here: http://paste2.org/p/1344661
It is faster than the code posted here (no re, etc.) and Python 3 compliant, but in order to do so I discarded backward compatibility with Python < 2.6 (I think). (NOTE: faster version with no string copying posted) Sirsteveh 14:41, 4 April 2011 (PDT)