3 ms·
This can be avoided by optimizing for the simplest code that works. Checking many cases in multiple lines is always going to be longer and more complex than jus
by Houshalter 11y ago
This can be avoided by optimizing for the simplest code that works. Checking many cases in multiple lines is always going to be longer and more complex than just a single operation on a single line.
Which is how AIs avoid overfitting, in general, by penalizing complexity.