3 ms·
Having fast code is essentially the same principle applied to programming. If I am developing, testing, or debugging stuff that can be slow it is worth the effo
by ImaCake 3y ago
Having fast code is essentially the same principle applied to programming. If I am developing, testing, or debugging stuff that can be slow it is worth the effort to make the run time as short as possible. I will truncate test data or use the debugger to run only the section of code I am interested in.
What I am saying is well known and obvious, the trick is to remember to do it when you need it! It’s very easy to slip into thinking you will only need to run your 3min runtime code a few times to fix the bug and then end up spending hours on the problem.