Revert "Revert "Short circuit optimization for functions executed over Nullable arguments"" #73820
Conversation
…ble arguments" This reverts commit 19dd88c.
|
This is an automated comment for commit ae065b9 with description of existing statuses. It's updated for the latest CI running ✅ Click here to open a full report in a separate page Successful checks
|
|
@Avogar @Algunenano I had added a fast path for functions with all argument type are numeric. And the performance tests show no obvious degradations. |
|
@cwurm I'll look into it next week. |
|
I still don't understand the motivation behind this PR. We are adding hundreds of lines of complex code but we don't see any performance improvement. The mentioned speedup looks unrelated as they are not even using Nullable arguments. Are you sure the change is actually improving anything? Could you please create a performance test that verifies this change and shows a scenario where it's beneficial, please? Otherwise it's hard to justify keeping the extra complexity |
I'll add it in another pr later. Current performance tests don't cover the scenes in which this feature speeds up performance. You can refer to #60129 (comment) first. It is the most typical scene to prove its superiority. |
Quick question: In which PR was the performance tests added? |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Revert "Revert "Short circuit optimization for functions executed over Nullable arguments"" . Add fast path for functions with all argument types is numeric. Fix performance issues in #72258
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing)
All builds in Builds_1 and Builds_2 stages are always mandatory
and will run independently of the checks below: