George Barnett and Cory Benfield
664032bdd6
Wrap closures stored in the CallbackList ( #3303 )
...
Motivation:
The compiler is better at optimising closures wrapped in nominal types
than raw closures when used as generic parameters. CallbackList is used
a lot and stores an optional closure as well as on optional array of
closures. Wrapping these internally should save some allocations.
Modifications:
- Wrap the element stored in the `CallbackList`.
Result:
Fewer allocs
---------
Co-authored-by: Cory Benfield <lukasa@apple.com >
2025-07-14 16:48:26 +00:00
..
2025-04-28 10:07:35 +00:00
2025-05-23 13:43:07 +00:00
2024-12-16 14:20:01 +00:00
2024-07-19 11:48:17 +02:00
2025-06-13 09:12:25 +01:00
2025-05-02 16:08:10 +01:00
2025-06-16 17:11:03 +00:00
2024-11-07 13:03:47 +00:00
2024-11-07 13:03:47 +00:00
2025-06-16 17:11:03 +00:00
2025-05-02 16:08:10 +01:00
2025-07-14 17:15:10 +01:00
2025-04-10 14:44:53 +00:00
2025-04-10 10:23:27 +00:00
2024-10-02 09:54:42 +00:00
2024-11-07 13:03:47 +00:00
2025-06-24 09:52:12 +00:00
2024-11-07 13:03:47 +00:00
2024-12-16 14:20:01 +00:00
2024-11-25 16:05:30 +00:00
2025-01-15 09:41:12 +00:00
2025-06-13 09:12:25 +01:00
2024-11-07 13:03:47 +00:00
2024-12-16 14:20:01 +00:00
2024-11-07 13:03:47 +00:00
2024-07-19 11:48:17 +02:00
2024-11-07 13:03:47 +00:00
2025-06-18 14:54:33 +01:00
2024-10-18 16:59:17 +01:00
2024-10-17 12:22:10 +00:00
2025-07-14 16:48:26 +00:00
2025-06-18 14:54:33 +01:00
2024-10-18 16:59:17 +01:00
2024-11-07 13:03:47 +00:00
2024-11-07 13:03:47 +00:00
2025-05-02 16:08:10 +01:00
2025-03-21 15:35:05 +00:00
2025-03-21 15:35:05 +00:00
2024-07-19 11:48:17 +02:00
2025-05-02 16:08:10 +01:00
2025-03-21 15:35:05 +00:00
2025-03-21 15:35:05 +00:00
2024-11-25 16:05:30 +00:00
2025-05-02 16:08:10 +01:00
2024-11-25 16:05:30 +00:00
2024-11-07 13:03:47 +00:00
2024-11-07 13:03:47 +00:00
2024-11-07 13:03:47 +00:00
2024-07-19 11:48:17 +02:00
2025-06-13 09:12:25 +01:00
2025-04-28 10:07:35 +00:00
2025-05-07 12:50:15 +00:00
2025-06-18 14:54:33 +01:00
2024-07-19 11:48:17 +02:00
2024-11-07 13:03:47 +00:00
2024-11-07 13:03:47 +00:00
2025-03-21 15:35:05 +00:00
2025-03-21 15:35:05 +00:00
2025-03-21 15:35:05 +00:00
2024-11-07 13:03:47 +00:00
2024-07-19 11:48:17 +02:00
2024-11-07 13:03:47 +00:00
2025-03-21 15:35:05 +00:00