[HP35s] Fastest way to increment a variable
04-30-2019, 08:28 AM (This post was last modified: 04-30-2019 10:47 AM by Csaba Tizedes.)
Post: #6
 Csaba Tizedes Senior Member Posts: 506 Joined: May 2014
RE: [HP35s] Fastest way to increment a variable
(04-30-2019 07:23 AM)grsbanks Wrote:
(04-29-2019 06:51 PM)Csaba Tizedes Wrote:  2a.) Please test 0 SUM+ (this increases stat variable n) OR
2b.) 1 SUM+ (this increases stat variable n AND SUMx)

These will both be pretty slow because of the other calculations going on whenever data is added to the statistics.

Yes, it is obvious, but with this you can add and count in one step and you have a possibility to count back and stop without counter==zero condition checking (eg. with an error):

Code:
 LBL label   // do something here, which you think is important in your life   SUM-   LN GTO label

BTW: on my 20S 1 STO+ var and 1 SUM+ speed ratio is 2.05, it is good profit for the additional benefits.

Csaba
 « Next Oldest | Next Newest »

 Messages In This Thread [HP35s] Fastest way to increment a variable - fred_76 - 04-29-2019, 03:13 PM RE: [HP35s] Fastest way to increment a variable - Albert Chan - 04-29-2019, 06:18 PM RE: [HP35s] Fastest way to increment a variable - ijabbott - 04-30-2019, 07:56 AM RE: [HP35s] Fastest way to increment a variable - fred_76 - 04-30-2019, 01:26 PM RE: [HP35s] Fastest way to increment a variable - Csaba Tizedes - 04-29-2019, 06:51 PM RE: [HP35s] Fastest way to increment a variable - grsbanks - 04-30-2019, 07:23 AM RE: [HP35s] Fastest way to increment a variable - Csaba Tizedes - 04-30-2019 08:28 AM RE: [HP35s] Fastest way to increment a variable - fred_76 - 04-30-2019, 01:18 PM RE: [HP35s] Fastest way to increment a variable - burkhard - 04-30-2019, 01:49 PM

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