Inefficient evaluation of exists()
Also applies to empty() and perhaps other functions.
#1 Updated by Michael Kay over 4 years ago
- Status changed from In Progress to Resolved
- Fix Committed on Branch 9.7 added
I have fixed exists() to work the way it did before. The code for empty() already had this optimization (and there was a comment in the code for exists() asking why it differed).
One thing this bug report reveals is that these little optimizations can sometimes make a surprisingly big difference to bottom-line performance.
Please register to edit this issue