News for hackers. Stuff that matters.
Re:“Clean” Code, Horrible Performance by incrudible on Wednesday March 01, 2023 @04:25AM (#34980361)
You are completely changing the problem. Remember, this is an example, the code does the same thing in either implementation.
Re:“Clean” Code, Horrible Performance by cratermoon on Wednesday March 01, 2023 @09:49PM (#34991311)
> completely changing the problem

Indeed. That's the point. Why let someone with an axe to grind define the problem in a way they can solve with their axe? The author is using optimization as the frame for rejecting a particular way of working, I'm pointing out that the definition is set up to make the solution work. I don't concede the terms of the debate before it even begins.