[Tremor] excessive use of 'long' vars

Monty xiphmont at xiph.org
Thu May 11 13:42:14 PDT 2006




On Thu, May 11, 2006 at 10:36:15AM +0200, Oliver Lange wrote:
> 
> Hi fellas, :)
> 
> I'd just like to say that Tremor us using an unnecessary
> amount of 'long' vars where 'int' would be the better
> choice. The point is that 'long' is 64-bit on 64-bit
> systems, where e.g. the following tables would just
> produce the double data size, just to mention two:

It should be set using type defines.  'int' is the wrong answer too,
as there are plenty of platforms where an int is 8 bits or 16 bits,
which is not large enough either.

Monty


More information about the Tremor mailing list