Re: which is faster?
- Posted by Chris Bensler <eu at creati?e?ortal.ca> Nov 09, 2007
- 629 views
CChris wrote: > > Here is a benchmark to prove and disprove stuff....
Try adding this bit of test code to verify that the variations are accurate. sequence test test = { st_dev0(s[1],0) ,st_dev1(s[1],0) ,st_dev2(s[1],0) ,st_dev3(s[1],0) ,st_dev4(s[1],0) ,st_dev5(s[1],0) } test = (test = test[1]) test[1] = 0 for i = 2 to length(test) do if test[i] = 0 then test[1] += 1 printf(1,"st_dev%d() != st_dev0()\n",{i-1}) end if end for if test[1] then machine_proc(26,{}) abort(1) end if
Chris Bensler Code is Alchemy