Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14980
| From | "G. Branden Robinson" <g.branden.robinson@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Should [[ -v 1 ]] be supported? |
| Date | 2018-12-27 20:40 -0500 |
| Message-ID | <mailman.6431.1545961301.1284.bug-bash@gnu.org> (permalink) |
| References | (1 earlier) <5dac2cf2-2fac-0fd1-058f-6a84a3271738@case.edu> <abd86dbc-f6e2-62bd-e9dc-f959e2dbff9f@inlv.org> <CABrM6wkGwVbPdrXTetVsFCiwDPg5JnK4KRh49WqACsKhrrMMdA@mail.gmail.com> <e190ca7a-57a7-5cf5-8001-48806fa98caf@inlv.org> <CABrM6wmgN7+03dvLySy0D=R1PnKwN6-9pM-8mD7VNy8P6u1NLw@mail.gmail.com> |
[Multipart message — attachments visible in raw view] - view raw
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
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Should [[ -v 1 ]] be supported? "G. Branden Robinson" <g.branden.robinson@gmail.com> - 2018-12-27 20:40 -0500
csiph-web