v.18.16Improvement
Improved dictGet...OrDefault Function Performance
Improved performance of the dictGet...OrDefault function for a constant key argument and a non-constant default argument. Amos BirdWhy it matters
This enhancement addresses inefficiencies in thedictGet...OrDefault function by optimizing its execution path for cases where the key is constant but the default value is dynamic. This reduces computation overhead and improves query performance for users leveraging dictionaries with default fallback values.How to use it
To benefit from this improvement, use thedictGet...OrDefault function in your queries as usual with a constant key parameter and a non-constant default argument. No additional configuration or changes are required.