>"All known" bottlenecks would be a very long list. But I can make
>some comments on yours and add a few more.
I forgot one more -- handling floats and integers by statically
detecting numeric types. If you look at a piece of code like
i = 0;
while (i < 20) {
a[i] = oscil[i](...);
i = i + 1;
}
you can see that 'i' can never take on a float value. You could
figure this out, treat i as an integer internally, and save
yourself a bunch of a-rate float-to-int conversions for the array
processing and addition.
Best,
-- Eric
+-----------------+
| Eric Scheirer |A-7b5 D7b9|G-7 C7|Cb C-7b5 F7#9|Bb |B-7 E7|
|eds@media.mit.edu| < http://sound.media.mit.edu/~eds >
| 617 253 0112 |A A/G# F#-7 F#-/E|Eb-7b5 D7b5|Db|C7b5 B7b5|Bb|
+-----------------+
This archive was generated by hypermail 2b29 : Wed May 10 2000 - 12:15:34 EDT