ipfs / ipfs/go-datastore

Provide Query Paramater to avoid copying Value's data?

Open
#59 1 comment 0 reactions 0 assignees View on GitHub
status/deferred
Dominant language
Go
Stars
247
Forks
67
PR merge metrics
No merged PRs in 30d

Description

When NextSync() is used it is safe to avoid copying the Value's data. This will help mostly with go-ds-leveldb queries see https://github.com/libp2p/go-libp2p-kad-dht/issues/39.

@whyrusleeping Do you think this is a good idea? If this paramater is provided it will be an error to call either the `Next()` or `Process()` methods on the results.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.