Quote:
Originally Posted by ownedbycats
Thanks.
When using first_non_empty, is there any performance difference between checking a default and custom column? Trying to figure out the optimal order for this (e.g. the more complex ones with multiple checks at the end).
|
Fetching a custom column is nanoseconds slower than fetching a standard column. Certainly not enough to worry about.
The first_non_empty() conditions should be ordered by likelihood. Put the ones first that are most likely to match, regardless of complexity.