mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-20 09:07:52 +01:00
![]() 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} |
||
---|---|---|
.. | ||
g3doc | ||
audio_frame_manipulator.cc | ||
audio_frame_manipulator.h | ||
audio_frame_manipulator_unittest.cc | ||
audio_mixer_impl.cc | ||
audio_mixer_impl.h | ||
audio_mixer_impl_unittest.cc | ||
audio_mixer_test.cc | ||
BUILD.gn | ||
default_output_rate_calculator.cc | ||
default_output_rate_calculator.h | ||
DEPS | ||
frame_combiner.cc | ||
frame_combiner.h | ||
frame_combiner_unittest.cc | ||
gain_change_calculator.cc | ||
gain_change_calculator.h | ||
output_rate_calculator.h | ||
OWNERS | ||
sine_wave_generator.cc | ||
sine_wave_generator.h |