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

Projects
None yet
2 participants
@arvidn
Contributor

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

This comment has been minimized.

Show comment
Hide comment
@arvidn

arvidn Aug 13, 2016

Contributor

rebased on top of master

Contributor

arvidn commented Aug 13, 2016

rebased on top of master

@ssiloti

This comment has been minimized.

Show comment
Hide comment
@ssiloti

ssiloti Aug 13, 2016

Contributor

lgtm

Contributor

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