2sic / 2sxc

DNN + 2sxc = #DNNCMS - This tool helps web designers and developers prepare great looking content in DNN (DotNetNuke). It's like mixing DNN with Umbraco and Drupal :)
http://2sxc.org
MIT License
141 stars 38 forks source link

Performance: Improve internals of value lookup to do fewer re-checking of language keys #3414

Closed iJungleboy closed 1 month ago

iJungleboy commented 1 month ago

I'm submitting a

[x] feature request [x] performance enhancement

...about

[x] performance

Current Behavior / Expected Behavior

Internally there is a lot of code running to lookup a value in an IEntity, especially because it could be a language-lookup with fallback functionality.

But the code is fairly clear and we should be able to clean all possible cases much earlier, to avoid multiple processing the way it happens right now. We believe we could get 3-10% improvement in various scenarios.

Your environment