List Commands Library for 50g
|
02-07-2018, 06:24 PM
Post: #249
|
|||
|
|||
RE: List Commands Library for 50g
(02-07-2018 04:59 PM)John Keith Wrote: OTOH, I will say that LASEQ and LMSEQ are wicked fast! To be honest, that was the main thing I had in mind when I first thought of those commands. I knew that directly accessing the built-in routines (and building the list in a Saturn loop) would be much faster than a SysRPL implementation, so I thought they might be worthwhile to have. Another thought I've had is to create my own customized R→I function, which could potentially be faster than the built-in one if used with certain assumptions. As an example, the built-in R→I function on a list of 2000 reals takes almost 14 seconds on my 50g. I'm speculating that I could possibly speed that up if I assume the following (as examples): - reals are truncated to integers instead of being checked for fractional values - numbers > some limit (+/-1E12?) are "capped" to a constant (999999999999? ∞? something else?) While those assumptions wouldn't be good for general purpose computing, they might be acceptable for this kind of situation. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 11 Guest(s)