Comment by Traubenfuchs Comment by Traubenfuchs 8 days ago 3 replies Copy Link View on Hacker News If it's really fine, shouldn't the compiler optimize that if away?
Copy Link lifthrasiir 8 days ago Next Collapse Comment - Of course (there are several GCC attributes for that), but it is not really like that an additional check improves readability anyway. Reply View | 0 replies
Copy Link cozzyd 7 days ago Prev Collapse Comment - It has different performance characteristics Reply View | 1 reply Copy Link kadoban 6 days ago Parent Collapse Comment - Isn't that common with changes the optimizer does? What else is the point of it? Reply View | 0 replies
Copy Link kadoban 6 days ago Parent Collapse Comment - Isn't that common with changes the optimizer does? What else is the point of it? Reply View | 0 replies
Of course (there are several GCC attributes for that), but it is not really like that an additional check improves readability anyway.