(11-20-2022, 07:05 PM)bplus Wrote: Hmm... odd how Charlie's runs faster but both loops are _Limit 30?
That would be because I don't see much point in implementing the _limit statement.
Largely because i'm getting in paralysis by analysis by the tought: what if some iterations of a loop are slower than other iterations for whatever reason. _limit 30 might slow down a program too much in that circumstance.
Then, if some iterations are really too fast, then _limit 30 might not be a high enough number.
The easy way out: have BAM recognize the statement, but totally ignore it. (related: Programming Reference)
QB64 is so much faster than BAM, that ignoring _LIMIT in BAM doesn't seem to make a significant difference: "limited" QB64 and "no-limit" BAM are going at reasonably the same speed.
Well, another big part: bad ADHD over here (along with nonstop sensory and cognitive overload), constantly distracted by discomfort from a physical ailment (no pain, thank goodness.) To keep me from going totally insane, I have to do extremely interesting things to ignore the discomfort. Properly implementing _LIMIT doesn't float my boat at the moment. But at some point, it might just become the most interesting thing to me. But everything is a shiny object, so I wouldn't be holding my breath ...