[Scummvm-devel] Game enhancements
yotam barnoy
yotambarnoy at gmail.com
Fri Nov 5 15:07:03 CET 2010
>
> About the MetaEngine class: If we have a plugin build querying
> MetaEngine for options every time an user opens a options dialog doesn't
> seem what we would like to do, so I guess if we want to use that we also
> need to think of some kind of proper caching logic, especially for small
> devices. Of course that is rather implementation specific now, but it
> might be still something to consider when evaluating how to do that.
>
I agree. Assuming the one-plugin-at-a-time mode which we are working
towards, so long as we can tolerate a delay while the plugin is loaded
into memory as the tab/options dialog is opened, it's ok. The problem
is that EVERY time the user returns to the tab/opens the options
dialog, the delay will be there as we have to unload the plugin right
away to prevent memory fragmentation. Therefore, we may really want a
caching mechanism, as you suggest.
Yotam
More information about the Scummvm-devel
mailing list