Blue Swirl wrote: > I like to use unsigned types whenever possible, IIRC compilers may > generate better code with those.
On the one hand, unsigned division can sometimes be compiled faster, depends on the architecture's div instructions. On the other hand, signed operations can be optimised by GCC with -fstrict-overflow, while the same unsigned operations cannot be so optimised. -- Jamie -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
