[all-commits] [llvm/llvm-project] 119f97: [scudo] Optimize scudo test string allocation
Dominic Chen via All-commits
all-commits at lists.llvm.org
Mon Dec 12 16:14:08 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 119f977d9e3f8af9f5ac54270e828e354452f903
https://github.com/llvm/llvm-project/commit/119f977d9e3f8af9f5ac54270e828e354452f903
Author: Dominic Chen <daming_chen at apple.com>
Date: 2022-12-12 (Mon, 12 Dec 2022)
Changed paths:
M compiler-rt/lib/scudo/standalone/string_utils.h
M compiler-rt/lib/scudo/standalone/tests/strings_test.cpp
Log Message:
-----------
[scudo] Optimize scudo test string allocation
When the underlying vector becomes full, it resizes, remaps, and then copies over the old data. To avoid thes excess allocations, allow reservation from the backing vector.
Differential Revision: https://reviews.llvm.org/D135119
More information about the All-commits
mailing list