Well, I measured your test at 23000 mSec for 100,000 counts. I rewrote it and measured it at 26 mSec for 100,000 counts.
So, I'd say there is room for improvement.
For one thing, you're not measuring what you think you're measuring - you include an indicator in the loop your timing - so your time includes the time to convert 100,000 integers to text strings, and write them to the display. That's not a legitimate way of measuring timing. Take out your indicator and your time improves a lot (to about 17 sec).
Second, use operations on arrays over an array of operations on elements whenever possible. In other words, use a single comparison on the array, and you get an array of boolean results.
Third, don't use DELETE ARRAY
in a loop if you can avoid it.
Fourth, you subtract i - x every time thru the loop, needed or not.
I have attached my rewritten version of your test.
Remember my motto, when thinking about how to speed up a program.
WORK YOU DON'T HAVE TO DO IS JUST LIKE WORK YOU'VE ALREADY DONE. It doesn't take any execution time.