electron/shell/browser/hid
trop[bot] 76fa5b7af1
perf: use absl::flat_hash_map instead of std::unordered_map (#46217)
* perf: make ElectronUsbDelegate::controller_map_ an absl::flat_hash_map

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: make ElectronSerialDelegate::controller_map_ an absl::flat_hash_map

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: make ElectronHidDelegate::controller_map_ an absl::flat_hash_map

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: make FrameTreeNodeIdMap an absl::flat_hash_map

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: make AutofillDriverFactory::driver_map_ an absl::flat_hash_map

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: make asar::Archive::external_files_ an absl::flat_hash_map

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: make VersionIdMap an absl::flat_hash_map

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* perf: make ObjectCache::proxy_map_ an absl::flat_hash_map

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* docs: add TODO to investigate absl map in KeyWeakMap

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-03-24 09:30:52 -05:00
..
electron_hid_delegate.cc refactor: use C++20's contains() method (#45742) 2025-02-21 17:33:43 -06:00
electron_hid_delegate.h perf: use absl::flat_hash_map instead of std::unordered_map (#46217) 2025-03-24 09:30:52 -05:00
hid_chooser_context.cc refactor: use C++20's contains() method (#45742) 2025-02-21 17:33:43 -06:00
hid_chooser_context.h refactor: more inline constexpr string view (#44498) 2024-11-04 12:27:49 -06:00
hid_chooser_context_factory.cc refactor: remove use of deprecated API BuildServiceInstanceFor() (#43690) 2024-09-12 15:44:14 -05:00
hid_chooser_context_factory.h refactor: remove use of deprecated API BuildServiceInstanceFor() (#43690) 2024-09-12 15:44:14 -05:00
hid_chooser_controller.cc chore: bump chromium to 134.0.6988.0 (main) (#45334) 2025-02-06 15:30:54 -05:00
hid_chooser_controller.h chore: iwyu mojom-forward header files (#43741) 2024-09-17 12:58:56 -07:00