[libcxx-commits] [libcxx] [libc++][hardening] Don't trigger redundant checks in the fast mode. (PR #77176)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 19 15:05:58 PST 2024


philnik777 wrote:

Does this actually improve the performance anywhere? AFAICT all we gain is avoiding the messages being generated in the binary, but I'm not convinced that's much of a problem. e.g. in the `std::next` case, there doesn't seem to be any overhead as-is with any optimizations enabled: https://godbolt.org/z/768E1YMsf

https://github.com/llvm/llvm-project/pull/77176


More information about the libcxx-commits mailing list