InheritedValueMap performance
I have come across the use of inheritedValueMap recently and is fitting well for one of our scenario. Wanted to check impact of its usage.
Scenario is site config properties are stored under /content/general/mysite1 and /content/general/group/mygroupsite1. Since there are 2 different levels I need to know what is the ROOT LEVEL (which is 2 in first case and 3 in second case). Since this is used in navigation component, for each page hit I will need to check if the site config properties are stored at level 2 or 3.
Rather than branching out whether level 2 has the site config property or not, and if not then look for level 3 for the properties, I am thinking to use InheritedValueMap which gives the property value searching from child page to the parent page until it finds it. However I am not finding much documentation around its performance (I believe it is kind of recursive call to parent until there is a match). Will it be a heavy operation for each page hit or it is light weight call ?
Any insight ?
