Mail Archives: djgpp-workers/2000/03/14/11:44:48
> You should run the benchmark that I posted 3 days ago to
> djgpp AT delorie DOT com, it will carify your dudes by yourself.
> The speed depends of the processor:
> - In 486 the fastest are 16 and 32 bits integers, chars are only a few
> slower, floats are more slow than integers, and double slowest.
> - In Pentium 8 bit integers are the fastest, 16 bits are faster and 32
> bits even more faster, floats and doubles the same speed, a bit slower
> that 16 bits integers.
> - In AMD K6 all types, 8,16,32 bits integer and float are equally faster.
> - In Pentium II and III, 8 bits are two times more slow than all the other
> types, 16 bits are much more faster, and 32 bits the fastest again, floats
> are equally fast than 32 bits integers, and doubles practically the same.
So if I use ints for all but FASTEST64_INT, we have the fastest, it seems.
Right,
MartinS
- Raw text -