Without any optimization it's a branch less, but I doubt any gained efficiency, too. Mostly I find my proposal neater.