Hi JVP,
>Have you run any benchmarks on this? I would be really interested to see what the real impact is.
Yeah, and mentioned the result in a tip in FoxPro Advisor. Unfortunately, I worded it a little bit problematically...
OK, I run the following test:
Set Assert off
nStart = Seconds()
For t=1 to 100000
Assert .T.
Endfor
? Seconds() - nStart
nStart = Seconds()
For t=1 to 100000
Endfor
? Seconds() - nStart
The loop with Assert takes between 40% and 50% longer than the loop without any command in there. The first loop need averagely 50ms, the second 35ms on my system. This is independant on whether this code is executed in the development environment or with the runtime library.
>Christof, I can't emphasize enough how good it is to see you up here.
Well, it's still just a visit. Although someone in the UT doesn't seem to beleive me, the envelop beside my name is now blue and I'Ve access to functions I hadn't before. :)
Christof
--
Christof