You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MS's STL already uses metaprogramming to help the optimizer produce
optimized code. As an example, std::fill delegates to std::memset
if safe, which has the advantage of guaranteed good performance in Debug mode, as well as not having to rely on the optimizer to salvage
reasonable ASM out of the actual code.
I would like optimizations like this to also happen when calling various
algorithms on std::vector<bool>, which currently does not happen.