Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Even if you use int in that case, the compiler is free to pick the optimal underlying data type (byte, probably), provided that it has proven that the value will never go out of that data type's limits and the program doesn't do anything fancy like casting the int to void * and reading it byte by byte.


Interesting, so it's a waste of time to use anything but intmax_t.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: