ipfs / ipfs/go-datastore

Improve performance of Query method

Open
#40 6 comments 0 reactions 1 assignee Claimed by @kevina View on GitHub
help wanted status/deferred
Dominant language
Go
Stars
247
Forks
67
PR merge metrics
No merged PRs in 30d

Description

In ipfs/go-ipfs#2760 @whyrusleeping said in a line comment:

> Yeah, using a channel as an iterator sucks. If one of you wants to work on improving the perf of query that would be great.
>
> We could change the interface to not use a channel, and have it instead just return the next value directly. Then on top of that we could provide a method for turning the direct query result into a channel buffered one for usecases that need it

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.