Hi, Steven, When evaluating "A OR B", the function doEvaluate work on A first, and only work on the second part (B) is there are some chance getting additional answers. The number of 1s (i.e., the number of answers) is computed with the call to function cnt(). However, it is somewhat odd that this single invocation of cnt() would be 20% of the overall execution time. I have always assumed it to be a negligible amount of time.
Would you mind tell us how many times ibis::bitvector::cnt() is invoked in your profile? Thanks. John _______________________________________________ FastBit-users mailing list [email protected] https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
