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

identify: avoid parsing/printing multiaddrs #583

Merged
merged 1 commit into from
Apr 9, 2019
Merged

Conversation

Stebalien
Copy link
Member

  1. Don't bother formatting the address as a string.
  2. Use SplitFirst to avoid parsing the entire address.

@ghost ghost assigned Stebalien Apr 9, 2019
@ghost ghost added the status/in-progress In progress label Apr 9, 2019
@Stebalien
Copy link
Member Author

slight perf improvement (1.4x speedup).

@vyzo vyzo merged commit 9051b3c into master Apr 9, 2019
@ghost ghost removed the status/in-progress In progress label Apr 9, 2019
@vyzo vyzo deleted the fix/faster-observer branch April 9, 2019 08:12
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