05-04-2025, 09:54 PM
Quote: (Ask @RhoSigma for more details about arrays and checking off, as he was the one who fixed those with us and I don't remember all the details for them off the top of my head now.)
If $CHECKING:OFF is in effect, then no "subscript out of range" checks are performed anymore. This may not improve much on a simple 1-dimensional array, but gets more important for multi-dimensional arrays, as the array indexes are checked for each and every array access and for every single dimension, i.e. a simple line like array(x,y,z) = array(x,y,z) + 1 will already perform 6 of those index checks. So especially if many of array accesses happen within a loop it might be useful to turn off checking, but be warned, if any given array index runs out of range and so accessing innocent memory, than this will almost immediatly cause a seg fault crash.
GuiTools, Blankers & other Projects:
https://qb64phoenix.com/forum/forumdisplay.php?fid=32
Libraries & useful Functions:
https://qb64phoenix.com/forum/forumdisplay.php?fid=23
https://qb64phoenix.com/forum/forumdisplay.php?fid=32
Libraries & useful Functions:
https://qb64phoenix.com/forum/forumdisplay.php?fid=23