[all-commits] [llvm/llvm-project] ebcdc7: [lldb] Use heterogenous lookups with std::map (NFC...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Mon Nov 11 00:00:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ebcdc700d68582a44dd059c40f382583126f29a6
      https://github.com/llvm/llvm-project/commit/ebcdc700d68582a44dd059c40f382583126f29a6
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-11-11 (Mon, 11 Nov 2024)

  Changed paths:
    M lldb/source/Interpreter/CommandInterpreter.cpp

  Log Message:
  -----------
  [lldb] Use heterogenous lookups with std::map (NFC) (#115684)

Heterogenous lookups allow us to call find with StringRef, avoiding a
temporary heap allocation of std::string.  Note that CommandMap just
started accepting heterogeneous lookups (#115634).



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