Is there a way to add into Find a func (i interface{}) bool filter function for filtering results? Using All to slurp all the results into an array then iterating over it in the Go code is too memory intensive at large scale and causes OOM more often than I'd like it to.
If someone can give me a quick rundown of where things are and what to do, I'll PR it in.
Is there a way to add into
Find
afunc (i interface{}) bool
filter function for filtering results? UsingAll
to slurp all the results into an array then iterating over it in the Go code is too memory intensive at large scale and causes OOM more often than I'd like it to.If someone can give me a quick rundown of where things are and what to do, I'll PR it in.