-
Notifications
You must be signed in to change notification settings - Fork 46
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: ipfs/go-cid
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: ipfs/go-cid
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 14 commits
- 13 files changed
- 6 contributors
Commits on Aug 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 44cccd6 - Browse repository at this point
Copy the full SHA 44cccd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e96c56 - Browse repository at this point
Copy the full SHA 6e96c56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2628583 - Browse repository at this point
Copy the full SHA 2628583View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8eba8e - Browse repository at this point
Copy the full SHA b8eba8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e2855d - Browse repository at this point
Copy the full SHA 9e2855dView commit details
Commits on Aug 30, 2021
-
Merge pull request #131 from ipfs/web3-bot/sync
sync: update CI config files
Configuration menu - View commit details
-
Copy full SHA for cf76220 - Browse repository at this point
Copy the full SHA cf76220View commit details
Commits on Sep 12, 2021
-
avoid double alloc in NewCidV1
We allocate once via "make([]byte, len)", and again when that buffer is converted to a string. Thankfully, since Go 1.10 we have strings.Builder, designed specifically for this use case. In a downstream benchmark in go-car, which needs to reconstruct many CID values, we see small but nice gains: name old time/op new time/op delta ReadBlocks-16 1.09ms ± 4% 1.06ms ± 5% -3.33% (p=0.007 n=11+11) name old speed new speed delta ReadBlocks-16 478MB/s ± 4% 494MB/s ± 5% +3.46% (p=0.007 n=11+11) name old alloc/op new alloc/op delta ReadBlocks-16 1.30MB ± 0% 1.25MB ± 0% -3.86% (p=0.000 n=12+12) name old allocs/op new allocs/op delta ReadBlocks-16 9.50k ± 0% 8.45k ± 0% -11.05% (p=0.000 n=12+12)
Configuration menu - View commit details
-
Copy full SHA for 5640b01 - Browse repository at this point
Copy the full SHA 5640b01View commit details
Commits on Nov 8, 2021
-
Benchmark existing ways to check for
IDENTITY
CIDsAdd benchmarks that compare two ways of checking for `multihash.IDENTITY` code: 1. `Cid.Prefix().MhType` 2. Decode of `Cid.Hash()` This benchmark illustrates that using Cid.Prefix is more efficient than `multihash.Decode`. Users wishing to perform such a check should use `Cid.Prefix`. Consider that `Cid.Prefix` is already efficient enough and introducing a dedicated API for performing this check will likely result in small gains. Relates to #133
Configuration menu - View commit details
-
Copy full SHA for 28f4a5e - Browse repository at this point
Copy the full SHA 28f4a5eView commit details
Commits on Dec 13, 2021
-
sync: update CI config files (#136)
* add version.json file * update .github/workflows/go-test.yml * update .github/workflows/go-check.yml * add .github/workflows/releaser.yml * add .github/workflows/release-check.yml * add .github/workflows/tagpush.yml Co-authored-by: web3-bot <web3-bot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for dc3bb41 - Browse repository at this point
Copy the full SHA dc3bb41View commit details
Commits on Apr 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1d11990 - Browse repository at this point
Copy the full SHA 1d11990View commit details -
Configuration menu - View commit details
-
Copy full SHA for 395d392 - Browse repository at this point
Copy the full SHA 395d392View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6be8b63 - Browse repository at this point
Copy the full SHA 6be8b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddd9ef7 - Browse repository at this point
Copy the full SHA ddd9ef7View commit details
Commits on Apr 21, 2022
-
fix: remove invalid multicodec2string mappings (#137)
* refactor: remove Codecs table * chore: go-cid 0.2.0 Codec table was missing dag-json and it had invalid code for dag-cbor. It also had invalid string representation of dag-pb -- it was using 'protobuf' which is a totally different code. This removes invalid mappings entirely. https://github.com/multiformats/go-multicodec should be used instead.
Configuration menu - View commit details
-
Copy full SHA for b2064d7 - Browse repository at this point
Copy the full SHA b2064d7View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.1.0...v0.2.0