Oh dear, how very silly! What optimization level was this compiled with?
At least the time penalty should be small so I'm certainly not inclined to change the core interpreter to work around what looks like a missed obvious optimization.
Code:
target_compile_options(bbcbasic PRIVATE -O1 -g)
Statistics: Posted by Memotech Bill — Mon Aug 19, 2024 8:38 pm