[all-commits] [llvm/llvm-project] 329785: [llvm-readobj] Use heterogenous lookups with std::...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Tue Nov 5 09:38:33 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3297858c19f3914513041d2c8407bc26c889793a
https://github.com/llvm/llvm-project/commit/3297858c19f3914513041d2c8407bc26c889793a
Author: Kazu Hirata <kazu at google.com>
Date: 2024-11-05 (Tue, 05 Nov 2024)
Changed paths:
M llvm/tools/llvm-readobj/ObjDumper.cpp
Log Message:
-----------
[llvm-readobj] Use heterogenous lookups with std::map (NFC) (#114929)
Heterogenous lookups allow us to call find with StringRef, avoiding a
temporary heap allocation of std::string.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list