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

> I'd probably reduce usage of some sizeofs just using the constant

Why? The sizeof is resolved into a constant at compile time, ie, no runtime cost. I see the 'sizeof(i16)' as conveying more information than a '2'.



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

Search: