On Wed, Oct 26, 2022 at 4:33 PM Eric LK <[email protected]> wrote: > "John R. Hogerhuis" <[email protected]> wrote: > > ?MID$(H$,A/16+1,1);MID$(H$,AMOD16+1,1);" "; > > It would be slightly faster with: > ?MID$(H$,A\16+1,1);MID$(H$,(AAND15)+1,1);" "; > > 10000 iterations takes 5:43 vs 7:23 with your version (I tested on > VirtualT, so it may not be 100% accurate but that should be a good > estimate). > > The biggest difference is the integer division, which to be honest > surprised me, since the variables are already integers. >
Excellent! I actually wasn't aware of the integer division operator. -- John.
