-
Notifications
You must be signed in to change notification settings - Fork 22
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: c-robinson/iplib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.8
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: c-robinson/iplib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 7 commits
- 20 files changed
- 3 contributors
Commits on Dec 24, 2023
-
* Change from *big.Int to uint128.Uint128 Migrate all IPv6 arithmatic operations from `*big.Int`, which is sloooooooow, `lukechampine.com/uint128`. This has lead to the following improvements: | Benchmark | *big.Int | Uint128 | | --- | --- | --- | | Benchmark_DeltaIP6 | 79.27 ns/op | 2.809 ns/op | | BenchmarkDecrementIP6By | 50.54 ns/op | 13.88 ns/op | | BenchmarkIncrementIP6By | 50.48 ns/op | 13.92 ns/op | | BenchmarkNet_Count6 | 122.2 ns/op | 11.26 ns/op | * add subnet_v6 benchmark * fix func docs to reflect improved v6 times * update README for v2 * fix longstanding typo * avoid index out of bounds in IP4ToARPA function (#14) * Fix edge case in DecrementIP6WithinHostmask - Fix a problem where DecrementIP6WithinHostmask could panic if the hostmask had an underflow - Added a benchmark for subnetting IPv6 * Change from *big.Int to uint128.Uint128 Migrate all IPv6 arithmatic operations from `*big.Int`, which is sloooooooow, `lukechampine.com/uint128`. This has lead to the following improvements: | Benchmark | *big.Int | Uint128 | | --- | --- | --- | | Benchmark_DeltaIP6 | 79.27 ns/op | 2.809 ns/op | | BenchmarkDecrementIP6By | 50.54 ns/op | 13.88 ns/op | | BenchmarkIncrementIP6By | 50.48 ns/op | 13.92 ns/op | | BenchmarkNet_Count6 | 122.2 ns/op | 11.26 ns/op | * add subnet_v6 benchmark --------- Co-authored-by: pikachu <40382944+pic4xiu@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 90df905 - Browse repository at this point
Copy the full SHA 90df905View commit details
Commits on Dec 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a40c9ce - Browse repository at this point
Copy the full SHA a40c9ceView commit details
Commits on Dec 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d68a6c8 - Browse repository at this point
Copy the full SHA d68a6c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f20274e - Browse repository at this point
Copy the full SHA f20274eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 089e210 - Browse repository at this point
Copy the full SHA 089e210View commit details -
Configuration menu - View commit details
-
Copy full SHA for e95463c - Browse repository at this point
Copy the full SHA e95463cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dd8551 - Browse repository at this point
Copy the full SHA 7dd8551View commit details
There are no files selected for viewing