[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: login shells ...
> idle curiosity - which is more efficient:
> ~ $#var 0
> or
> ~ $var
it doesn't matter. it's way down in the noise.
(but if you really want to know, the latter. i use the former
because it's clearer for me. if you at the unparsed versions
of the commands:
; echo {~ $#var 0} {~ $var}
{~ <={%count $var} 0} {~ $var }
;
you'll see that the former has to do more work since it contains a
superset of the operations in the latter.)
paul