2 ms·
A query may do a lot of work but iterating over many results could be very slow.
by azinman2 5y ago
A query may do a lot of work but iterating over many results could be very slow.
- eloff 5y agoYes, 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.