1. Re: type string

> Changing those variables to real expressions had
> a curious impact.Replacing T with (T = 1) and F
> with (F = 1) reversed the results. Now the second
> example was consistently *faster*; in fact, the
> speed change was hardly noteworthy. Example #1,
> on the other hand, had enough of a speed decrease
> to make it the undesirable choice; about a 50%
> drop. (All of this was done under version 2.1.)

Robert, what precizely is the interpreter doing ?
I mean, this suprises me. This doesnt not need to be off course.

> BTW - I ran both types of tests under 2.0 as
> well. When simple integer variables were used,
> example 1 was still faster, which is what prompted
> me to think there was only a simple calculation
> being performed. When using (T = 1) and (F = 1) as
> expressions, example 2 won without ANY difficulty.

Why is there a difference between an expression and a variable ?
There needn't to be any.

Ralf

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu