[memprof] Use std::move in toMemProfRecord (#93133)
std::move and reserve here result in a measurable speed-up in llvm-profdata modified to deserialize all MemProfRecords. The cycle count goes down by 7.1% while the instruction count goes down by 21%.
parent
f3d6db36
Please register or sign in to comment