diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2022-01-15 10:05:22 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-01-19 12:29:04 +0100 |
commit | 42a68215a1291981d0f7d32c397eb64fd1ff0b11 (patch) | |
tree | 0454d6093fc3fa1fbc739d649c6bff47b56640bb /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | d8bff13a8a681ea8af34556f5b00409389dc64d5 (diff) | |
download | llvm-42a68215a1291981d0f7d32c397eb64fd1ff0b11.zip llvm-42a68215a1291981d0f7d32c397eb64fd1ff0b11.tar.gz llvm-42a68215a1291981d0f7d32c397eb64fd1ff0b11.tar.bz2 |
[AttrBuilder] Change storage to sorted vector (NFC)
This follows up on the work in D116599, which changed AttrBuilder
to store string attributes as SmallVector<Attribute>. This patch
changes the implementation to store *all* attributes as a sorted
vector.
This both makes the implementation simpler and improves compile-time.
We get a -0.5% geomean compile-time improvement on CTMark at O0.
Differential Revision: https://reviews.llvm.org/D117558
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions