Skip to content
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

use the more efficient bdecoder from libtorrent #10

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 arvidn force-pushed the arvidn:faster-bdecode branch from 3a6cd7a to 9a16e34 Aug 13, 2016
@arvidn
Copy link
Contributor Author

@arvidn arvidn commented Aug 13, 2016

rebased on top of master

@ssiloti
Copy link
Contributor

@ssiloti ssiloti commented Aug 13, 2016

lgtm

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

Successfully merging this pull request may close these issues.

None yet

2 participants