I'm not sure if this should go here as this is a default plugin with MP, but here it goes:
I have about 350 movies that I use My Videos to display. It takes my MP machines about 7 seconds to build the list of movies with their imdb information and whatnot. This in itself is not bad save for any time one leaves this list and goes back to it, there is a 7 second pause in the application.
Two ideas:
1. Looking through the code of the plugin (about 2.5k lines of it) I noticed that it uses ArrayList of build these listItems then does type casting to work with them. Does anyone think if this were changed to use List<> instead it would speed up this plugin?
2. Would it be overly difficult to store this list in memory and just call it back from there when needed? Then MP would only have to make this list once and just recall it when needed. Could add a button to refresh list from the main My Videos screen.
Please let me know your thoughts.
Thanks,
LRFalk01
I have about 350 movies that I use My Videos to display. It takes my MP machines about 7 seconds to build the list of movies with their imdb information and whatnot. This in itself is not bad save for any time one leaves this list and goes back to it, there is a 7 second pause in the application.
Two ideas:
1. Looking through the code of the plugin (about 2.5k lines of it) I noticed that it uses ArrayList of build these listItems then does type casting to work with them. Does anyone think if this were changed to use List<> instead it would speed up this plugin?
2. Would it be overly difficult to store this list in memory and just call it back from there when needed? Then MP would only have to make this list once and just recall it when needed. Could add a button to refresh list from the main My Videos screen.
Please let me know your thoughts.
Thanks,
LRFalk01