Closed ngosang closed 1 year ago
Thank you.
Maybe you can improve your performance.
It might be so, yet do you have any particular reason to strive for numbers?
I'm working in my own torrent indexer site, so, I tested several Python libraries. I'm indexing thousands of torrents and serving hundred thousand torrent scrape requests. In this use case performance is important but It's not a common case.
Finally I'm using better-bencode for my project but this is a nice project with more functionality. Maybe I use it for other tasks. This issue is not a priority for me, but can be useful for others. https://github.com/kosqx/better-bencode
I'm indexing thousands of torrents and serving hundred thousand torrent scrape requests.
I see. Thank you.
decode better-bencode 0.98 s
That's С, not Python.
Considered closed. Feel free to reopen if required.
https://pypi.org/project/modern-bencode/
decode torrentool_bencode 29.49319815635681 s decode modern-bencode 13.25705099105835 s
Booth libraries are using pure Python code. Maybe you can improve your performance.