Skip to content

make the ping queue use a more compact data structure - #16

Merged
arvidn merged 2 commits into
bittorrent:masterfrom
arvidn:compact-ping-queue
Aug 14, 2016
Merged

arvidn merged 2 commits into
bittorrent:masterfrom
arvidn:compact-ping-queue

Conversation

@arvidn

@arvidn arvidn commented Aug 14, 2016

Copy link
Copy Markdown
Contributor

and reduce some IPv4/IPv6 code duplication.

Comment thread main.cpp

// this is the type of each node queued up
// to be pinged at some point in the future
struct queued_node_t

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved this down a bit and stripped out fields that aren't used externally

@ssiloti

ssiloti commented Aug 14, 2016

Copy link
Copy Markdown
Contributor

lgtm

@arvidn
arvidn merged commit 44e19b0 into bittorrent:master Aug 14, 2016
@arvidn
arvidn deleted the compact-ping-queue branch August 14, 2016 22:03
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