v.25.7Performance Improvement

Avoid calculating a hash on each access

Plain std::vector<std::atomic_bool> is used for join flags to avoid calculating a hash on each access to flags. #83043 (Nikita Taranov).