Re: T(r)ip of the day?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt, nice work... and a very creative solution. I seek throug my code
to improve such constructions after seeing this.

MK

> At closer inspection I managed to reduce this two one line of code,
> which is a hell of a lot more succinct and well faster. Comparing the
> number of assignments, lines and comparisons we can see that it is
> superior.
>
>   iPos = (iTotal > 1) + 1

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu