Which version is more efficient (execution time-wise): the original or your trick?