in case by `op[]` you've meant `arr[i]`, the proxy object does not really matter in optimized mode, since as you can see from the assembly I've included in the article, it's inlined but the logic responsible for selecting the right bits is obviously still there
I think the whole Proxy object returns from the op[] is not going to help the compiler for vectorization/simd
sorry, not sure what you're referring to - there is no `op[]` in any of the examples
vector<bool> arr; ... arr[i] will return a proxy IIRC
in case by `op[]` you've meant `arr[i]`, the proxy object does not really matter in optimized mode, since as you can see from the assembly I've included in the article, it's inlined but the logic responsible for selecting the right bits is obviously still there