[vorbis-dev] longs
Thomas Marshall Eubanks
tme at 21rst-century.com
Mon Sep 11 15:11:00 PDT 2000
Monty wrote:
> > Please change all longs to int, and never use them in the future :)
>
> Pardon me for being blunt, but 'no'. That breaks far more than it fixes.
>
> > They arent needed as on most platforms they are the same size. (which is the assumption made in the ogg code anyway)
>
> Not true.
>
> > The reason for this is i will have vorbis support on playstation 2, but long is 64 bits, and they are excruciatingly slow.
>
> On some platforms, int is 16 bits, and this would break the code badly. It's
> true that my usage of long/int is slightly sloppy (I do use longs in many
> unneccessary places) but there are just as many places where using int will
> break things. We'll need to work a bit harder on a solution; the only
> reliable solution may well be to hardwire more Ogg types in autoconf...
>
> Monty
>
>
Well, you could just rewrite it all in Fortran, which is faster than
C and offers much more cross-platform numerical stability :)
Regards
Marshall Eubanks
T.M. Eubanks
Multicast Technologies, Inc
10301 Democracy Lane, Suite 410
Fairfax, Virginia 22030
Phone : 703-293-9624
Fax : 703-293-9609
e-mail : tme at on-the-i.com tme at multicasttech.com
http://www.on-the-i.com http://www.buzzwaves.com
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list