var gets elevated and bound to a function, not a block, so the differences will be optimized by the compiler.
The second is a little faster, because there are fewer characters per wire. This difference is not significant enough to be a factor in your decision about what to use.