Currently basic_string's destructor is not getting inlined. So adding 'inline' attribute to ~basic_string().
Worked in collaboration with Aditya Kumar.
Differential D22834
Added 'inline' attribute to basic_string's destructor laxmansole on Jul 26 2016, 3:30 PM. Authored by
Details Currently basic_string's destructor is not getting inlined. So adding 'inline' attribute to ~basic_string(). Worked in collaboration with Aditya Kumar.
Diff Detail
Event TimelineComment Actions LGTM. However I would like to see a small benchmark that demonstrates the performance change. Please try and write the benchmark using Google Benchmark. http://libcxx.llvm.org/docs/TestingLibcxx.html#building-benchmarks Let me know if I can help. Comment Actions Sure, Thanks, Comment Actions I guess @laxmansole sent you a synthetic benchmark because we were having trouble integrating it to the libcxx testsuite. I can send you that again which can be submitted as a separate patch if you want. |