Skip to content

Improve performance of Query method #40

@kevina

Description

@kevina

In ipfs/kubo#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

Metadata

Metadata

Assignees

Labels

help wantedSeeking public contribution on this issuestatus/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