3 ms·
Changing sizes on different processors is a bad idea- most uses should be fixed-size for ease of portability, and using 64-bit ints for a "default" type isn't a
by Rusky 12y ago
Changing sizes on different processors is a bad idea- most uses should be fixed-size for ease of portability, and using 64-bit ints for a "default" type isn't always the best for performance.
Also, it's unclear from your post, but to clarify: the C standard mandates that sizeof(int) <= sizeof(long).