DescriptionOptimize loop condition for SincResampler.
Improves performance by ~2% - 3% on all tested platforms. Avoids a 20%
performance hit with clang! Which seems like a bug, so I filed:
http://llvm.org/bugs/show_bug.cgi?id=16578
Results measured by:
media_unittests --gtest_filter=AudioConverterTest.ConvertBenchmark \
--audio-converter-iterations=500000
Switching from size_t to int is a minor performance win on all platforms
< ~1% and reduces code gen by a few hundred bytes with clang, so why not.
BUG=https://code.google.com/p/webrtc/issues/detail?id=2041
TEST=media_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211538
Patch Set 1 : Cleanup. #
Total comments: 12
Patch Set 2 : Use for(). #Patch Set 3 : Comments. const! #
Messages
Total messages: 10 (0 generated)
|