]> git.sesse.net Git - nageru/commit
Optimize the compressor a lot by making our own makeshift pow().
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 11 Nov 2015 17:48:20 +0000 (18:48 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 11 Nov 2015 17:55:57 +0000 (18:55 +0100)
commitcabac1772677e5ac20d5a619b13d5d9f7f90160b
treef427a4ef1f9d158b587d5a23c7c0c5a291e832c0
parent194872611b21bb070f4dfcf5beda6c36d25459ea
Optimize the compressor a lot by making our own makeshift pow().

It seems this takes us down from ~4% to ~0.5%, of which ~2% was the pow
and the rest was call overhead (!). The approximation has its limits,
but doesn't really sound different to me, and the math appears to check out.
stereocompressor.cpp