Skip to main content
gamedev.net
🔒 Locked

Another Performance Question

Started by level10boy Oct 22, 2001 at 7:40 PM 2 replies 350+ views
Original Post
level10boy
level10boy
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.
Mithrandir
Mithrandir
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.
OldMan__
OldMan__
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!
level10boy
level10boy
Thanks a lot guyz.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.