This may sound like a silly question, and I hesitated to post it, but still:
if something needs to run only in a certain condition, which of these is more efficient:
Please pick the thing that is most readable. Performance optimizations at this level are hardly ever an issue. Even really performance sensitive parts of frameworks (such as the .NET framework) do not benefit from such an micro optimization.