HP Forums
Latest S/W Version Runs Faster - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Latest S/W Version Runs Faster (/thread-4488.html)



Latest S/W Version Runs Faster - smp - 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:
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


RE: Latest S/W Version Runs Faster - Didier Lachieze - 08-15-2015 08:04 AM

(08-06-2015 02:44 PM)smp Wrote:  Has anyone else seen a measurable increase in speed with their programs when updating their S/W version?

IIRC when version 7820 was released last May I observed a speed increase of approximately 25% on a program I was working on at that time.