thx for this amazing library and bringing c++ to the next level.
I was discussing with a collegue wether or not using ranges helps the branch predictor.
So is it better for branch prediction to use f.e. filter over a branchy for-loop (like here https://godbolt.org/z/Tbe7eoGPx )
What is your take on that?
Hi Range-v3-Team,
thx for this amazing library and bringing c++ to the next level. I was discussing with a collegue wether or not using ranges helps the branch predictor. So is it better for branch prediction to use f.e. filter over a branchy for-loop (like here https://godbolt.org/z/Tbe7eoGPx ) What is your take on that?
Best