Daniel Collins f418f48702 Change CallbackDeferrer to use a variant and callback pointer instead of std::function
This should substantially reduce the overhead due to deferred callbacks in profiles.

Bug: webrtc:15723
Change-Id: I4c52beb91eb08c9b0ac2d1ce9a4e11839aa35e38
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/331020
Reviewed-by: Victor Boivie <boivie@webrtc.org>
Commit-Queue: Daniel Collins <dpcollins@google.com>
Cr-Commit-Position: refs/heads/main@{#41363}
2023-12-12 13:15:12 +00:00
..
2023-11-15 12:10:28 +00:00
2023-11-15 12:10:28 +00:00
2023-10-05 18:48:21 +00:00
2021-05-12 15:06:17 +00:00
2021-04-20 10:42:58 +00:00