Skip to content

Provide Query Paramater to avoid copying Value's data? #59

Description

@kevina

When NextSync() is used it is safe to avoid copying the Value's data. This will help mostly with go-ds-leveldb queries see libp2p/go-libp2p-kad-dht#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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/deferredConscious decision to pause or backlog

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions