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

> Is the uint8_t just "no point in using something bigger" or does it likely help the compiler? Does/can the signedness matter as well as the size?

In a good world you could use just uint_fast8_t and compiler would optimize this question for you. In real world I don't think compilers are smart enough, or there are too many other constraints limiting them :(



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

Search: