Hacker News new | ask | show | jobs
by nnethercote 2141 days ago
Coming up with a binary "is this acceptable?" heuristic is also harder for performance than it is for correctness.
1 comments

I think the heuristic is really easy: "Is it slower than before?"

If it's slower, then you require a manual override to accept the merge.

That will make performance regressions a whole lot less likely. Sure, in some cases they may be necessary, but in many cases they were unintentional; they can be fixed, and then merged.