rmuir commented on pull request #710:
URL: https://github.com/apache/lucene/pull/710#issuecomment-1050162660


   also, another random suggestion for another day. I think it would be fine to 
have some logic like this at some point:
   
   ```
   if (length < N) {
     return cardinality(); // for small bitsets, don't be fancy
   }
   ```
   
   But I'm not concerned either way. Just thought if we need to iterate and 
introduce benchmarks, then ignoring tiny cases is an easy way to really zone in 
on good perf.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to