Two assignments like this is probably faster than branching! A compiler probably does it like this anyway. We do follow that pattern throughout the project, is less lines of code and simpler. Please re-consider.