阅读背景:

在32位CPU上,“整数”类型比“短”类型更有效吗?

来源:互联网 

On a 32-bit CPU, an integer is 4 bytes and a short integer is 2 bytes. If I am writing a C/C++ application that uses many numeric values that will always fit within the provided range of a short integer, is it more efficient to use 4 byte integers or 2 byte integers?On a 32-bit CPU, an integer is 4 bytes and a sh




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: