Bart Van Assche 6fe3618e7c libhealthloop: Micro-optimize HealthLoop::RegisterEvent()
BoundFunction is an alias for std::function<>. Copying a function object
may be expensive. Use std::move() to avoid copying std::function<>. From
https://engdoc.corp.google.com/eng/doc/devguide/cpp/std_function.md:
"Generally prefer both accepting and passing by value if ownership is
transferred. Recall that when using value semantics, it's important to
also use std::move() when appropriate."

Bug: 203462310
Change-Id: I9fb87737dd5ce0fbb84bfbbdb0f8bb952dea1fbc
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2024-08-05 15:55:24 -07:00
2023-09-13 21:18:46 +00:00
2023-09-08 20:25:29 +00:00
2023-10-10 10:30:03 +09:00
2024-08-02 13:05:27 +00:00
2024-04-05 02:29:07 +00:00
2023-10-16 15:02:54 -07:00
2023-04-07 23:41:20 +00:00
2023-12-12 18:06:34 +09:00
2023-09-08 21:06:03 +00:00
2024-04-05 02:29:07 +00:00
2023-09-11 17:03:06 +00:00
2024-01-10 12:30:37 -08:00
2024-02-20 21:05:23 +00:00
2024-07-30 21:52:22 +00:00
2023-09-11 16:32:19 +00:00
2016-08-30 11:28:36 -07:00
2022-08-01 16:19:14 +00:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%