Post Reply 
[VA] SRC #012a - Then and Now: Probability
10-16-2022, 08:32 AM
Post: #41
RE: [VA] SRC #012a - Then and Now: Probability
(10-15-2022 06:28 PM)Albert Chan Wrote:  With above optimizations, we have:
[...]
20 REAL T,W(R,R),P(R,R),Q(R,R) @ INTEGER A,B,I,J,K,M

In Series 70 BASIC, there is no speed gain to use INTEGER variables; on the contrary it adds some overhead to convert INTEGER to REAL before evaluating the expression and convert the result back to INTEGER. This also applies to FOR .. NEXT loops and matrix indexes.

J-F
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [VA] SRC #012a - Then and Now: Probability - J-F Garnier - 10-16-2022 08:32 AM



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