Dave Lee
61efe360f9
[lldb] Avoid unnecessary regex check in dwim-print ( #114608 )
...
An (unmeasured) improvement to performance of `dwim-print` when used as `po`.
This change lifts the check for `note_shown` to the top of the lambda, to avoid all subsequent work when the hint has already been shown. The main effect is to avoid performing a regex match when the hint is not going to be shown.
This change also constructs the `std::regex` only once, by making it static.
2025-03-07 21:57:05 -08:00
..
2024-10-24 20:20:48 -07:00
2024-08-23 11:06:01 -07:00
2024-02-27 10:34:01 -08:00
2024-09-05 12:19:31 -07:00
2024-08-02 09:53:34 -07:00
2025-02-19 20:32:00 -08:00
2025-02-20 11:13:46 -08:00
2025-02-12 10:47:22 +01:00
2025-02-12 10:47:22 +01:00
2025-03-07 21:57:05 -08:00
2024-02-20 14:18:03 -08:00
2025-02-19 20:32:00 -08:00
2025-02-19 15:17:35 -08:00
2025-02-19 08:31:40 -08:00
2024-02-27 10:34:01 -08:00
2025-02-19 08:31:40 -08:00
2025-03-05 10:21:19 -08:00
2024-10-02 09:11:47 -07:00
2024-11-10 07:50:24 -08:00
2024-08-27 10:59:31 -07:00
2024-02-27 10:34:01 -08:00
2025-02-22 11:11:40 -06:00
2024-02-27 10:34:01 -08:00
2024-09-16 00:26:51 -04:00
2025-01-14 20:12:46 -08:00
2024-09-24 16:48:27 -07:00
2024-07-01 21:35:21 -07:00
2024-10-05 00:29:44 -07:00
2024-02-27 10:34:01 -08:00
2025-02-21 13:13:34 +01:00
2024-09-05 12:19:31 -07:00
2025-02-26 11:22:11 +01:00
2025-02-28 16:13:12 -08:00
2024-02-27 10:34:01 -08:00
2024-06-21 14:05:36 +02:00
2024-09-05 12:19:31 -07:00
2025-02-19 20:32:00 -08:00
2025-03-05 10:21:19 -08:00
2024-07-31 18:06:32 -07:00
2025-02-20 11:13:46 -08:00
2024-08-27 10:59:31 -07:00
2024-08-27 10:59:31 -07:00
2025-02-28 16:13:12 -08:00