Re: Nitpicky array questions

2006-04-10 Thread $Bill Luebkert
Alan M. Carroll wrote: > Apparently I wrote it badly, but my question concerning scalar vs. $#array > was whether there was a difference in run-time costs, not the functional > difference. > > I don't have a specific issue, but code can always run faster. The question > is whether I should use

RE: Nitpicky array questions

2006-04-10 Thread Brian Raven
Alan M. Carroll <> wrote: > Apparently I wrote it badly, but my question concerning scalar vs. > $#array was whether there was a difference in run-time costs, not the > functional difference. > > I don't have a specific issue, but code can always run faster. The > question is whether I should us

RE: Nitpicky array questions

2006-04-10 Thread Alan M. Carroll
Apparently I wrote it badly, but my question concerning scalar vs. $#array was whether there was a difference in run-time costs, not the functional difference. I don't have a specific issue, but code can always run faster. The question is whether I should use scalar() without concern, or whether

RE: Nitpicky array questions

2006-04-10 Thread Brian Raven
Alan M. Carroll <> wrote: > I went netsearching for this but couldn't find anything in all the > noise. > > 1) What is the runtime cost of the scalar operator? Is it constant or > does it depend on the size of the array? Is it different than > $#array? Evaluating an array in a scalar context r

Re: Nitpicky array questions

2006-04-09 Thread Billy Conn
Alan M. Carroll wrote: I went netsearching for this but couldn't find anything in all the noise. 1) What is the runtime cost of the scalar operator? Is it constant or does it depend on the size of the array? Is it different than $#array? 2) What's the best way to turn the result of the map fun

Re: Nitpicky array questions

2006-04-09 Thread Williamawalters
hi alan --     In a message dated 4/9/2006 12:41:23 P.M. Eastern Standard Time, [EMAIL PROTECTED] writes:   > I went netsearching for this but couldn't find anything in all the noise.> > 1) What is the runtime cost of the scalar operator? Is it constant>    or does it depend on the size of