[REBOL] Re: More on expressions
From: carl:cybercraft at: 6-Feb-2003 11:08
On 06-Feb-03, Joel Neely wrote:
> Thanks, Carl,
> I almost always find the train of thought leading to a solution as
> interesting as the final result (and usually more so).
I thought I'd include them, since I've no formal training as a
programmer and don't understand "real" maths, either. Might help you
to understand how I get by with these computer things. ;-)
> I agree with you about the parentheses (mostly! ;-). In the case
> of my solution, I left them there to make it clear where the sub-
> expressions came from, but I should have pointed out that all of
> the parentheses in my last version were actually redundant and
> could simply be dropped. (That's actually what I did when I set up
> some of the solutions for benchmarking, the results of which I'll
> post Real Soon Now...)
Well, yours will be the quicker, since it has a min or max less in it,
but I'd be interested to know what kind of speed differences the
parens make, so could you do a test of yours with them in as well?
--
Carl Read