Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
azinman2
· 4y ago · 0 comments
A query may do a lot of work but iterating over many results could be very slow.
Comments
[–]
eloff
4y ago
Yes, the API is probably suboptimal for Go. It's better to make a wrapper that does the query and fetches many results in one call, into a Go buffer.