3 ms·
int was supposed to be the signed integer version of size_t. Meaning that it conforms to the native word size of the machine. But then a lot of software assumi
by imtringued 2mo ago
int was supposed to be the signed integer version of size_t. Meaning that it conforms to the native word size of the machine.
But then a lot of software assuming that int means 32 bit got written and even 64 bit ABIs have kept int as 32 bits.
- wren6991 2mo agoI imagine there would also be some cache pressure increase if you inflated all of those ints to 64 bits.