Small 25 line program - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Programs (https://qb64phoenix.com/forum/forumdisplay.php?fid=7) +---- Thread: Small 25 line program (/showthread.php?tid=1122) |
RE: Small 25 line program - bplus - 11-20-2022 Hmm... odd how Charlie's runs faster but both loops are _Limit 30? RE: Small 25 line program - CharlieJV - 11-20-2022 (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 ... RE: Small 25 line program - bplus - 11-21-2022 Good news! visionmercer found a couple more versions from SpecBas source! Code: (Select All) ' A loose translation of bubble_universe2 Code: (Select All) ' A loose translation of bubble_universe3 |