summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPeng Liu <winner245@hotmail.com>2024-11-18 10:32:54 -0500
committerGitHub <noreply@github.com>2024-11-18 16:32:54 +0100
commitc25e09e238c6f872a116d10bbefba0beff145a57 (patch)
treee15b8d11476d63afcb7d1b7322315e9f2557e1cb /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent8f8016fe66dd260b03a4d1c2b50636e36e02942b (diff)
[libc++][test] Speed up input generating functions for benchmark tests (#115544)
The input generating functions for benchmark tests in the GenerateInput.h file can be slightly improved by invoking vector::reserve before calling vector::push_back. This slight performance improvement could potentially speed-up all benchmark tests for containers and algorithms that use these functions as inputs.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions