Collection of interesting c++-related stuff (optimizations, lack of optimizations, benchmarks, etc.):
- Returning
boolfrom predicate may preventstd::count_ifauto-vectorization; - When anticipating auto-vectorization, beware of type mismatches
- For local benchmark outputs, if not otherwise specified, the CPU used is
Intel(R) Core(TM) i5-8265U.