[ANN] "Pure" Ogg-Vorbis decoder

Bryce Kampjes bryce at kampjes.demon.co.uk
Sat Jun 12 16:20:59 UTC 2004

Russell Penney writes:
 > Oh yes it would indeed!!!!
 > During the decode of the packet, lots of work is done on arrays of floats.
 > Without changing the decoder to integer only, everything is stored in floats
 > until the last step.

If you use FloatArrays, then floating point arithmetic is likely
to be the same speed as integer arithmetic. Modern CPUs have a
lot of floating point hardware. The only reason to use integer
arithmetic would be for PDAs. 

Just avoid creating Float objects, they are full objects unlike


More information about the Squeak-dev mailing list