electron/shell
trop[bot] f41b4e3a81
perf: cache the return value of IsX11() (#46426)
* perf: cache the return value of IsX11()

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

* fix: mark as nodiscard for those who call, but mark as maybe_unused for Windows

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-04-01 17:55:09 -05:00
..
app refactor: remove unused system header includes (34-x-y) (#46135) 2025-03-20 07:57:29 +01:00
browser perf: cache the return value of IsX11() (#46426) 2025-04-01 17:55:09 -05:00
common perf: have ErrorThrower lazily lookup the current isolate (#46416) 2025-04-01 15:29:42 -05:00
renderer perf: prefer absl::flat_hash_set over std::unordered_set (#46376) 2025-03-31 10:39:42 +02:00
services/node refactor: use private inheritance from mojo::MessageReceiver (#45994) 2025-03-12 22:49:24 -05:00
utility chore: remove unused base/ includes (#43688) 2024-09-12 16:05:37 +02:00