[vorbis-dev] longs
Taral
taral at taral.net
Mon Sep 11 15:22:13 PDT 2000
On 11 Sep, Monty wrote:
>> Personally, I think it's better to never use native C data types directly
>> as their size is not constant. The problem you ran into is a good example
>> of why typedefs should be used instead.
>
> C is the way it is for a reason, even if the decided upon spec turned out to be
> 'not entirely sufficient'. Forcing an Alpha to use 32 bit ints, for example,
> is a good way to kill integer performace (as Windows NT for Alpha partially
> demostrates).
How about using int_min32 or something that guarantees a type which has
32 bits or more and is efficient on the platform?
--
Taral <taral at taral.net>
Please use PGP/GPG to send me mail.
<HR NOSHADE>
<UL>
<LI>APPLICATION/pgp-signature attachment: stored
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/octet-stream
Size: 241 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20000911/cde3c14b/part.obj
More information about the Vorbis-dev
mailing list