Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add skippable iterators #55

Open
lemire opened this issue Mar 19, 2016 · 4 comments
Open

Add skippable iterators #55

lemire opened this issue Mar 19, 2016 · 4 comments

Comments

@steveyen
Copy link
Contributor

@steveyen steveyen commented Jan 23, 2019

@lemire
Copy link
Member Author

@lemire lemire commented Jan 23, 2019

Updated link.

@steveyen
Copy link
Contributor

@steveyen steveyen commented Jan 23, 2019

As an application usage example, the bleve full-text library would likely have use for a skip-ahead or advance-able iterator method. It currently has that brute force for-loop that calls HasNext/Next(), not really doing anything meaningful with the interim values...

https://github.com/blevesearch/bleve/blob/master/index/scorch/segment/zap/posting.go#L659

@lemire lemire added the Priority label Jan 23, 2019
@lemire
Copy link
Member Author

@lemire lemire commented Jan 23, 2019

I have marked this as a priority.

It is not difficult to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.