Hi! I'm making a commentary system and my intent is to show them fast in real time. So I need to have an array of commentaries that include profile photo, dialogue box animation and more. I was using custom Resources to hold all that info, but then I noticed my Resource that contains all those dialogue resources started slowed down the loading process.
It makes sense to me since the container Resource initializes the variables which includes an array of Resources. So it has to initialize every Resource and the resources the may contain.
I was wondering if using an Array[Dictionary] would be faster, making every dialogue into a Dictionary instead of a resource. That would be a single variable? I'm probably going to test it, but I have to change a lot in my system. I can't find info about this, so I'm wondering what is the theory on this. Would 100 dictionaries with about 15 keys be faster than 100 dialogue Resources with about 10 variables?