Bee wrote:
> These do the same thing:
> let @/ = @/ . pad[c]
> let @/ .= pad[c]
>
> Is there an advantage (speed? resources?) to use one rather
> the other?

Things like += and .= are mainly a convenience for
comprehension. Using += the LHS is mentioned only once
(LHS += RHS rather than LHS = LHS + RHS), and mentioning
something once only is easier to understand (if the programmer
is familiar with the operator).

There may be some theoretical efficiency advantage of one over
the other, but that is inconsequential.

John

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui