optimisation: Making it clear to the compiler that many of the loops in cwrs

need to iterate at least once.
This commit is contained in:
Jean-Marc Valin 2008-04-16 14:15:07 +10:00
parent 57e004bf74
commit 558c50eb3d
4 changed files with 21 additions and 14 deletions

View file

@ -10,7 +10,7 @@
int main(int _argc,char **_argv){
int n;
for(n=0;n<=NMAX;n++){
for(n=2;n<=NMAX;n++){
int m;
for(m=0;m<=MMAX;m++){
celt_uint32_t uu[NMAX];

View file

@ -11,7 +11,7 @@
int main(int _argc,char **_argv){
int n;
for(n=0;n<=NMAX;n+=3){
for(n=2;n<=NMAX;n+=3){
int m;
for(m=0;m<=MMAX;m++){
celt_uint64_t uu[NMAX];