Another Performance Question

Started by
2 comments, last by level10boy 22 years, 5 months ago
Call me performance paranoid but do signed variables like (int) carry with them more overhead than unsigned variables like (unsigned int) at run-time, compile-time or both. Cheers, any replies.
Advertisement
nope.

Processors support signed and unsigned instructions at the same time.

in fact, the addition and subtraction algorithms for both signed and unsigned integers is the same.
This is my signature. There are many like it, but this one is mine. My signature is my best friend. It is my life. I must master it as I must master my life. My signature, without me, is useless. Without my signature, I am useless.
In fact only a single signal from the CPU controler is different (off instead of on)(at least in the 8086).

If brute force does not solve your problem....you''re not using enough!
If brute force does not solve your problem....you're not using enough!
Thanks a lot guyz.

This topic is closed to new replies.

Advertisement