#5396 Add an option to hide Recent, Worn and Favorites tabs#5437
#5396 Add an option to hide Recent, Worn and Favorites tabs#5437maxim-productengine merged 2 commits intodevelopfrom
Conversation
|
Do hidden tabs keep processing and do they initialise even when hidden? I feel like this is a good opportunity to win performance wise by not initializing those inventories when they are hidden. |
indra/llui/lltabcontainer.cpp
Outdated
| updateMaxScrollPos(); | ||
| } | ||
|
|
||
| bool LLTabContainer::getTabVisibility(const LLPanel* panel) |
There was a problem hiding this comment.
Function can be made const.
Not sure if that significantly helps (there are not so many views inside those tabs) but sure let's do it. |
Sadly that's incorrect and inventory is poorly optimized
Not initializing those panels when all tabs are hidden can triple inventory floater's loading speed and cut memory footprint. |
Make the Recent, Worn and Favorites tabs optional for users.