Amazing what eliminating a function call can do. :)
But, as with every performance test, this is pathological. Unless you're doing this test 10's of thousands of times per frame, the speed difference is not really a factor.
But, as with every performance test, this is pathological. Unless you're doing this test 10's of thousands of times per frame, the speed difference is not really a factor.