[all-commits] [llvm/llvm-project] c3c424: [lldb-dap] Use heterogenous lookups with std::map ...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Nov 9 08:23:02 PST 2024


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

  Changed paths:
    M lldb/tools/lldb-dap/DAP.cpp
    M lldb/tools/lldb-dap/DAP.h

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

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