search for: max_seeds

Displaying 1 result from an estimated 1 matches for "max_seeds".

Did you mean: mac_seed
2000 Jun 30
0
First patch, little speed up... (about 1%)
I did optimized a bit an loop at psy.c (by the way, the code looks quite more beautiful now) ;-) Have a look... --- psy.c Sat Jun 24 12:09:23 2000 +++ - Fri Jun 30 19:03:37 2000 @@ -452,38 +452,38 @@ /* bleaugh, this is more complicated than it needs to be */ static void max_seeds(vorbis_look_psy *p,double *flr){ long n=p->n,i,j; - long *posstack=alloca(n*sizeof(long)); - double *ampstack=alloca(n*sizeof(double)); - long stack=0; + long *posstack=alloca((n+1)*sizeof(long)); + double *ampstack=alloca((n+1)*sizeof(double)); + long stack=2; - for(i=0;i<n;i++){...