08-06-2015, 02:44 PM
Hello all,
As you may know from my other postings, I am a proud owner of a new HP Prime, 2015 version.
Software version: 2015 6 17 (8151)
Hardware Version: C
CAS Version: 1.1.2-11
Operating System: V0.037.526
Right after I received my Prime, I entered a simple program to calculate the number of ways to make $1.00 from change:
Back when I was on the S/W version that originally came in my Prime (6975), this program would regularly report 216x mSec. Now, with the latest S/W version installed (8151), the program regularly reports 212x mSec. That's an improved run time of ~40 mSec.
Has anyone else seen a measurable increase in speed with their programs when updating their S/W version?
smp
As you may know from my other postings, I am a proud owner of a new HP Prime, 2015 version.
Software version: 2015 6 17 (8151)
Hardware Version: C
CAS Version: 1.1.2-11
Operating System: V0.037.526
Right after I received my Prime, I entered a simple program to calculate the number of ways to make $1.00 from change:
Code:
EXPORT Dollar()
BEGIN
PRINT();
PRINT("Running...");
T:=TICKS:
C:=0;
FOR P FROM 0 TO 100 STEP 5 DO
FOR N FROM 0 TO 20 DO
FOR D FROM 0 TO 10 DO
FOR Q FROM 0 TO 4 DO
IF P+(N*5)+(D*10)+(Q*25)=100 THEN C:=C+1;
// PRINT("P:" +P +" " +"N:" +N +" " +"D:" +D +" " +"Q:" +Q);
END;
END;
END;
END;
END;
PRINT(C +" ways to make a dollar");
//MSGBOX(C +" ways_to_make_a_dollar");
T:=TICKS-T;
PRINT("elapsed time = " +T +" mSec");
END;
Back when I was on the S/W version that originally came in my Prime (6975), this program would regularly report 216x mSec. Now, with the latest S/W version installed (8151), the program regularly reports 212x mSec. That's an improved run time of ~40 mSec.
Has anyone else seen a measurable increase in speed with their programs when updating their S/W version?
smp