> > Would it be reasonable to assume that the definition of t in allpass and
> > comb (5.9.9.[7,8]) currently:
> >
> > "Let t be the value of time * SR ..."
> >
> > Should actually be:
> >
> > "Let t be the value of floor( time * SR ) ..."
>
It should be a reasonable assumption except for a rather practical issue.
Floor is a very expensive operation on intel processors as it requires
reloading of the Floating Point Status word, which, among other things
creates horrendous stalls, and incurs a very heavy execution penalty. Round,
however, is a remarkably efficient operation. In this particular case round
can be performed in about 5 machine cycles. Floor takes close to 80 clocks.
You can ignore the processor issue if you like, but the reality is not that
many people are going to be executing SAOL on processors other than Intel
processors. That's reality, like it or not.
Please don't advocate use of floor unless absolutely neccessary, or
performance *will* suffer.
This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 12:03:58 EST