[vorbis-dev] trivial optimization to psy.c

Timothy J. Wood tjw at omnigroup.com
Wed Jun 28 13:55:44 PDT 2000



>If you're compiler aint that great at optimizing, it might give you a touch
>extra speed. Of course, the fabs() is going to take up most of the time here,
>so it's probably pretty academic anyway... :)

  fabs is a builtin on most compilers that translates to a single FP  
instruction.  The load/store will be much more expensive.

-tim

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list