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

Improve perf by reducing calls to mh.toB58String #82

Closed
wants to merge 4 commits into from

Conversation

dignifiedquire
Copy link
Member

@dignifiedquire dignifiedquire commented Dec 14, 2016

We were abusing this encoding very heavily. Ref libp2p/js-peer-id#44

@dignifiedquire dignifiedquire changed the title [WIP] Improve perf by reducing calls to mh.toB58String Improve perf by reducing calls to mh.toB58String Dec 14, 2016
@dignifiedquire dignifiedquire self-assigned this Dec 14, 2016
@dignifiedquire
Copy link
Member Author

Latest orbit build including these changes: https://ipfs.io/ipfs/QmZBWsCwgQ6x7ZSBWXufAFirKJ64j39r6yygTm31sdCrMY

@daviddias
Copy link
Member

@dignifiedquire could you please PR this against the bitswap 1.1.0? This will cause a bunch of annoying merge conflicts and for the time being, it is not a priority, can easily be shipped by next week with the other PR

@dignifiedquire
Copy link
Member Author

Given these changes are ready to be used and very helpful I don't think it makes sense to delay them untill the 1.1 PR is ready. I will have to redo most of this anyway for that branch, so lets ship this so it can be used amd I will rebase and fixup the 1.1 branch afterwards.

@dignifiedquire
Copy link
Member Author

Closing in favor of #83

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