News for hackers. Stuff that matters.
Re:The Use of assert() in SQLite by chronial on Saturday April 27, 2019 @05:09PM (#19767651)
If you do Assert(ExpensiveOp()), removing all of it is only a valid optimization if ExpensiveOp() is 100% side-effect free. But even when that is the case, the compiler won't inline ExpensiveOp() and go through the effort of proving that it's side effect free if it's sufficiently complex.

There are no comments on this comment yet.