electron/shell/browser/usb
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_usb_delegate.cc refactor: use C++20's contains() method (#45742) 2025-02-21 17:33:43 -06:00
electron_usb_delegate.h perf: use absl::flat_hash_map instead of std::unordered_map (#46217) 2025-03-24 09:30:52 -05:00
usb_chooser_context.cc refactor: use C++20's contains() method (#45742) 2025-02-21 17:33:43 -06:00
usb_chooser_context.h chore: fix typos in 'shell/' folder. (#43373) 2024-08-22 19:48:32 -05:00
usb_chooser_context_factory.cc refactor: remove use of deprecated API BuildServiceInstanceFor() (#43690) 2024-09-12 15:44:14 -05:00
usb_chooser_context_factory.h refactor: remove use of deprecated API BuildServiceInstanceFor() (#43690) 2024-09-12 15:44:14 -05:00
usb_chooser_controller.cc refactor: add EmitWarning(v8::Isolate*) helper (#43722) 2024-09-16 15:53:04 -05:00
usb_chooser_controller.h chore: iwyu mojom-forward header files (#43741) 2024-09-17 12:58:56 -07:00