commit | 01c2c325bdf49345aa03fa4cc9b4adca72512783 | [log] [tgz] |
---|---|---|
author | Yura Yaroshevich <yura.yaroshevich@gmail.com> | Tue Nov 01 20:20:52 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 03 16:43:37 2022 |
tree | eb75041117689ad558d3c58fd3ae82ff6e435e7a | |
parent | bab259a023348e8f95389274e32263ed520fab0c [diff] |
Faster erase buffer within FrameCombiner with -Oz opt level. Previous erase implementation on clang with -Oz optimization leve produced effectively per element zeroing, causing unnecessary CPU usage on mobiles. Using zero-initialization is both shorter and easier to optimize for clang: https://en.cppreference.com/w/cpp/language/zero_initialization Godbolt links with example of codegen: Before: https://godbolt.org/z/feT3bfoxr After: https://godbolt.org/z/PTra3sfoz Bug: None Change-Id: Ie1eae3455ded42e2b65fdb15436d8698277f6504 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/281400 Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38547}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.