Function executes faster without STRICT modifier?
Maybe an overhead from the repeated function call that is streamlined away by inlining the function? That’s what I’d guess. You’ve got a very simple expression there. An actual function-call presumably involves stack setup, passing parameters etc. The test below gives run-times of 5ms for inlined and 50ms for strict. BEGIN; CREATE SCHEMA f; SET … Read more