Re:In C++, is empty() faster than comparing the size with zero?
by admax88qqq on Thursday October 28, 2021 @06:31PM
(#29032865)
I think the "good" choice is to remove undefined behaviour and accept that C will be slighlty slower on esoteric hardware.
I don't think there's an obvious 'good' and 'bad' choice here.