Optimized implementations of References for DagPbCodec and DagJsonCodec
Open
- Dominant language
- Rust
- Stars
- 150
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
Currently, DagCbor References scrapes references from a blob very efficiently. But DagPbCodec and DagJsonCodec does not. It creates a temporary IPLD AST just to scrape the links from that and throw away the rest.
Especially for DagPbCodec this should be easy, since links are all in one part.
```
// An IPFS MerkleDAG Node
message PBNode {
// refs to other objects
repeated PBLink Links = 2;
// opaque user data
bytes Data = 1;
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.