Skip to content

use the more efficient bdecoder from libtorrent#10

Merged
arvidn merged 1 commit into
bittorrent:masterfrom
arvidn:faster-bdecode
Aug 13, 2016
Merged

use the more efficient bdecoder from libtorrent#10
arvidn merged 1 commit into
bittorrent:masterfrom
arvidn:faster-bdecode

Conversation

@arvidn

@arvidn arvidn commented Aug 8, 2016

Copy link
Copy Markdown
Contributor

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 commented Aug 13, 2016

Copy link
Copy Markdown
Contributor Author

rebased on top of master

@ssiloti

ssiloti commented Aug 13, 2016

Copy link
Copy Markdown
Contributor

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