gvol1
Topic Author
Posts: 3
Joined: 29 Aug 2022, 22:11

Log about resources loaded

07 Nov 2023, 20:01

"Hi, I have some questions about this log.
[NOESIS/I] 'Assets/NoesisScreens/MainMenu/Views/Menu/SomeDictionary.xaml' loaded
UnityEngine.Debug:Log (object,UnityEngine.Object)
"When Noesis displays this log in reference to a dictionary, is each entry in the dictionary loaded into memory?"

"I want to know if, when a UserControl has a dictionary in its Resources if I create multiple instances of these UserControls, each UserControl creates a separate instance of the dictionary in my memory?"

In the Attachments, you can see that the log repeats 47 times.
Captura de pantalla 2023-11-07 135015.png
Captura de pantalla 2023-11-07 135015.png (9.93 KiB) Viewed 693 times
 
User avatar
jsantos
Site Admin
Posts: 3925
Joined: 20 Jan 2012, 17:18
Contact:

Re: Log about resources loaded

08 Nov 2023, 11:13

"When Noesis displays this log in reference to a dictionary, is each entry in the dictionary loaded into memory?"
Yes, for now the entire dictionary is loaded. There are plans to improve this though, low priority for now.
"I want to know if, when a UserControl has a dictionary in its Resources if I create multiple instances of these UserControls, each UserControl creates a separate instance of the dictionary in my memory?"
Yes, multiple instances are created. This is the main reason we recommend merging those dictionaries into the global one (in settings menu).

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 2 guests