bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should [[ -v 1 ]] be supported?


From: G. Branden Robinson
Subject: Re: Should [[ -v 1 ]] be supported?
Date: Thu, 27 Dec 2018 20:40:36 -0500
User-agent: NeoMutt/20180716

At 2018-12-27T19:24:22-0600, Peng Yu wrote:
> > I don't believe that at all. The number of positional parameters is kept
> > anyway. It's not recalculated when you compare it to another number, so
> > it's just as fast as a simple comparison of two integers.
> 
> Getting the number $# is slow.

By what metric, and how do you know?

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]