Post Reply 
Latest S/W Version Runs Faster
08-06-2015, 02:44 PM (This post was last modified: 08-06-2015 02:44 PM by smp.)
Post: #1
Latest S/W Version Runs Faster
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
Find all posts by this user
Quote this message in a reply
08-15-2015, 08:04 AM
Post: #2
RE: Latest S/W Version Runs Faster
(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.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)