I always assumed that there would not be much difference of performance between selecting a complex expression and selecting a scalar function encapsulating the expression until I encountered the following case:
My expression is quite comple
My expression is quite comple