Can my CAS Savage benchmark be improved? CAS newbie
|
04-03-2017, 02:44 PM
(This post was last modified: 12-04-2017 08:11 AM by StephenG1CMZ.)
Post: #1
|
|||
|
|||
Can my CAS Savage benchmark be improved? CAS newbie
When I first got my HP Prime, I implemented the Savage benchmark and then unsuccessfully tried to implement it in CAS, but never got to see the perfect 2500 result...
I was busy learning about my new Prime rather than the CAS, and somewhat put off further experimentation by the corruption referred to in this old thread - I didn't want to risk my new toy : (the corruption referred to is long gone). http://www.hpmuseum.org/forum/thread-195...ght=savage I've just tried again and now see the perfect 2500 result, but wonder if the time can be improved. Corrected code: (updated. To fix bad syntax) Code:
My working code (CAS2) runs a FOR loop repeatedly calling CAS and I thought that taking the CAS out of the FOR loop ought to speed things up. But my #CAS (CAS1) version is consistently slower. I haven't used #CAS much yet, so I'm probably not doing it right. Can #CAS1 be made faster than CAS2? Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)