I have no faith in this. Anyone else spot the superfluous 'else' statement after the 'return'? As a human, that's the first thing I would take out (pet hate).
Posts by snifferdog_the_second
8 publicly visible posts • joined 22 May 2018
ChatGPT becomes ChatRepair to automate bug fixing for less
Businesses should dump Windows for the Linux desktop
Google weeps as its home state of California passes its own GDPR
No fandango for you: EU boots UK off Galileo satellite project
Four hydrogen + eight caesium clocks = one almost-proven Einstein theory
Microsoft, Google: We've found a fourth data-leaking Meltdown-Spectre CPU hole
Show some understanding, people
We're going to see more of these. To get the performance that users have come to expect, modern CPU's are so fiendishly complicated that nobody (even the people who design them) can possibly know how they will behave in all possible situations. I have every sympathy with the chip designers. Getting your head around CPU design these days must be extremely challenging.
And, to some extent, I blame software developers like myself. We have got lazy. "CPU's are fast" we say, "we don't need to bother about the efficiency of our code". I installed Windows 10 recently on a machine that, a few years ago, was state of the art and always had excellent performance. It ran like a dog, even doing something mundane like popping up a menu. Draw your own conclusions.