Merged
Conversation
Contributor
|
Can this be benched against net.isIP as well? Can do a node/browser switch out in |
Member
Author
|
It's there in the current benchmark. |
Member
Author
Yea good idea. It's roughly 6x faster for |
achingbrain
pushed a commit
to multiformats/js-multiaddr
that referenced
this pull request
Nov 2, 2022
See ChainSafe/is-ip#1 (comment) New version of `@chainsafe/is-ip` provides a node-specific export and faster base implementation. This library unaffected by the breaking change
github-actions bot
pushed a commit
to multiformats/js-multiaddr
that referenced
this pull request
Nov 2, 2022
## [11.0.7](v11.0.6...v11.0.7) (2022-11-02) ### Dependencies * update @chainsafe/is-ip ([#281](#281)) ([fc6b600](fc6b600)), closes [/github.com/ChainSafe/is-ip/pull/1#issuecomment-1295761316](https://github.com/multiformats//github.com/ChainSafe/is-ip/pull/1/issues/issuecomment-1295761316)
github-actions bot
pushed a commit
to libp2p/js-libp2p-utils
that referenced
this pull request
Dec 7, 2022
## [3.0.3](v3.0.2...v3.0.3) (2022-12-07) ### Bug Fixes * update project readme ([#66](#66)) ([7e977a2](7e977a2)) ### Dependencies * bump private-ip from 2.3.4 to 3.0.0 ([#63](#63)) ([956f404](956f404)), closes [ChainSafe/is-ip#1](ChainSafe/is-ip#1) [#19](#19) [#21](#21) * **dev:** bump it-all from 1.0.6 to 2.0.0 ([#62](#62)) ([99cca25](99cca25)), closes [#28](#28) [#28](#28) [#27](#27) [#24](#24) * **dev:** bump it-map from 1.0.6 to 2.0.0 ([#61](#61)) ([88b05b4](88b05b4)) * **dev:** bump uint8arrays from 3.1.1 to 4.0.2 ([#60](#60)) ([ca0b632](ca0b632)), closes [#41](#41) [#40](#40) [#28](#28) [#41](#41) [#40](#40) [#28](#28) [#41](#41) [#40](#40) [#28](#28)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementation snatched from rust stdlib
between 30 and 300x faster than
isIPfromis-ip