News for hackers. Stuff that matters.
Re:Code optimizations when using async/await by hinkley on Tuesday January 04, 2022 @12:06PM (#29797044)
The smaller the function with the perf tweaks, the less pushback you tend to get in reviews. Near as I can surmise, there’s a threshold below which people feel comfortable refactoring code they don’t like the looks of, but the fact of that comfort discourages them from actually doing it.

You do have to watch out for features being added. Plenty of people don’t understand rewording these three lines results in a 10% response time increase.

There are no comments on this comment yet.