Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1868

Commands faster/slower in a counted DO loop

$
0
0
I've been testing three timing mechanisms. Standing alone, they're about the same speed. In a counted DO loop, the first iteration is a little faster speed and the subsequent iterations are lot faster. I'm curious about what's going on. I've done these many times; these results are typical.

Code:
v:\> qton & qtoff
0.000437

v:\> do i=1 to 5 (qton & qtoff)
0.000327
0.000107
0.000105
0.000104
0.000106

v:\> clock 1 zon & echo %@clock[1,s,0,r]
0.000415

v:\> do i=1 to 5 (clock 1 zon & echo...

Read more

Viewing all articles
Browse latest Browse all 1868

Trending Articles