Hi All,
I am doing a raw speed test on some very simple operations to compare basic VFP operations with another language. Would some of you care to do a similar test against another language of your choice? e.g. Python, PHP, VB.Net, whatever. I am looking for VFP speed vs. language_of_your_choice speed on the same machine. Here are two simple tests manipulating some numbers and building a string in VFP
CLEAR
tStartTime = SECONDS()
ta=0
FOR i = 1 TO 1000000
ta = Log(i) + Cos(i) + Sin(i) + Log(i) + exp(i)
next
? SECONDS() - tStartTime
tStartTime = SECONDS()
ta = ""
FOR i = 1 TO 1000000
ta = ta + "xx"
next
? SECONDS() - tStartTime
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.