New G2 HP Prime
|
08-31-2018, 12:11 PM
Post: #96
|
|||
|
|||
RE: New G2 HP Prime
After reading the comments about the correct timing of the code, I checked the test code for the G2 more carefully and
found a serious bug. X has to be zero at the beginning of the execution, but this is only the case at the first iteration, bacause X:=0 is outside the FOR loop. To have the MAKELIST outside the loop doesn't seem that critical to me, because the execution time is surely minimal in relation to the test code itself. To minimize the overhead effect, I've used simply more iterations for very fast results. I would suggest 100 iterations in the case of the Prime. I hope, that I've made no mistake correcting the test code: Code: EXPORT NQUEENS() Sorry for the complications to Anders. Calculator Benchmark |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)