We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Implement HasNext/Get APIs, which returns an object suitable to be passed outside of iteration loop scope.
Example API:
for it.HasNext() { d := it.Get() }
it.Get() would return a pointer to the document.
it.Get()
Current API we have, minimizes allocations and copies. But the object is only accessible inside the loop scope.
var d Doc for it.Next(&doc) { }
The text was updated successfully, but these errors were encountered:
I would like to work on this
Sorry, something went wrong.
No branches or pull requests
Implement HasNext/Get APIs, which returns an object suitable to be passed outside of iteration loop scope.
Example API:
it.Get()
would return a pointer to the document.Current API we have, minimizes allocations and copies.
But the object is only accessible inside the loop scope.
The text was updated successfully, but these errors were encountered: