BLI: Improve IndexMask::complement() performance #108331

Merged
Hans Goudey merged 15 commits from HooglyBoogly/blender:index-mask-complement-performance into main 2023-05-31 17:11:11 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit d2b9825f0e - Show all commits

View File

@ -253,9 +253,9 @@ TEST(index_mask, ComplementPerformance)
{
RandomNumberGenerator rng;
const int64_t mask_size = 100000;
const int64_t mask_size = 1000000;
const int64_t iter_num = 100;
const int64_t universe_size = 110000;
const int64_t universe_size = 1100000;
for (const int64_t iter : IndexRange(iter_num)) {
const float probability = float(iter) / float(iter_num);