Post Reply 
[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
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [HP35s] Fastest way to increment a variable - Csaba Tizedes - 04-30-2019 08:28 AM



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