Files
clang-p2996/lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
Alex Langford e8d3f061ba [lldb][NFCI] Pre-allocate storage in ObjCLanguage::MethodName::GetFullNameWithoutCategory
The size of a full ObjC MethodName can vary somewhat, but it is
computable ahead of time.

Using a reasonably sized ObjC application, this actually improves the
time it takes to initialize symbol indexes for ObjC names ever so
slightly. Additionally, I found that the variability in time also was
improved considerably.

Differential Revision: https://reviews.llvm.org/D150914
2023-05-18 16:23:15 -07:00

46 KiB