Skip to content

use the more efficient bdecoder from libtorrent #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2016

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Aug 8, 2016

This replaces the lazy_bdecode decoder with the more efficient decoder from libtorrent. More details on performance here: http://blog.libtorrent.org/2015/03/bdecode-parsers/

Only basic testing has been done, by poking it with the test_dht.py script. However, that is where most of the bdecoding happens, so it covers a significant portion of the updated code.

@arvidn
Copy link
Contributor Author

arvidn commented Aug 13, 2016

rebased on top of master

@ssiloti
Copy link
Contributor

ssiloti commented Aug 13, 2016

lgtm

@arvidn arvidn merged commit 091b13e into bittorrent:master Aug 13, 2016
@arvidn arvidn deleted the faster-bdecode branch August 13, 2016 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants