[libcxx-commits] [libcxx] [libc++] Mark __{emplace, push}_back_slow_path as noinline (PR #94379)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 4 10:32:22 PDT 2024


gerben-stavenga wrote:

This unfortunately will hurt performance greatly (think 5x) on a simple loop like
for(int i =0; i< n; i++) v.push_back(i);



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


More information about the libcxx-commits mailing list