home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0003226: SkinFunction IsPluginEnabled causes needless MPSettings instantiation
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MediaPortal-Bot" data-source="post: 685394" data-attributes="member: 48617"><p>While the MPSettings values are cached, any read/write operation from it still requires a new object to be instantiated. This is normally not a problem, except that the above mentioned skinfunction causes this to happen at every render pass. MPSettings values are always cached, and thus always read from the same valuelist, so instantiation is not required everytime.</p><p></p><p>Created Instance Property, and changed those read operation to use it inside PluginManager which are called by the skinfunction. Other MPSettings read operation not changed.</p><p>Also removed (needless) left-over instantiation in InfoManager.</p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=3226" target="_blank">http://mantis.team-mediaportal.com/view.php?id=3226</a></p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=3226" target="_blank">Open the issue in Mantis...</a></p></blockquote><p></p>
[QUOTE="MediaPortal-Bot, post: 685394, member: 48617"] While the MPSettings values are cached, any read/write operation from it still requires a new object to be instantiated. This is normally not a problem, except that the above mentioned skinfunction causes this to happen at every render pass. MPSettings values are always cached, and thus always read from the same valuelist, so instantiation is not required everytime. Created Instance Property, and changed those read operation to use it inside PluginManager which are called by the skinfunction. Other MPSettings read operation not changed. Also removed (needless) left-over instantiation in InfoManager. [url]http://mantis.team-mediaportal.com/view.php?id=3226[/url] [url=http://mantis.team-mediaportal.com/view.php?id=3226]Open the issue in Mantis...[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0003226: SkinFunction IsPluginEnabled causes needless MPSettings instantiation
Contact us
RSS
Top
Bottom