Replace a string append operation in addFunctionMappingRecord with a
vector append. The existing behavior is quadratic in the worst case:
this patch makes it linear.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D16395
[Coverage] Reduce complexity of adding function mapping records ClosedPublic Authored by vsk on Jan 20 2016, 11:32 PM.
Details Summary Replace a string append operation in addFunctionMappingRecord with a
Diff Detail
Event Timelinevsk updated this object. This revision is now accepted and ready to land.Jan 21 2016, 11:27 AM Closed by commit rL258424: [Coverage] Reduce complexity of adding function mapping records (authored by vedantk). · Explain WhyJan 21 2016, 11:29 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 45574 cfe/trunk/lib/CodeGen/CoverageMappingGen.h
cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp
|