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
Development
General Development (no feature request here!)
Yet a couple of other performance suggestions
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="ojo" data-source="post: 3066" data-attributes="member: 10402"><p>Sorry I didn't check that. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> </p><p></p><p>Its a tradeoff. Do You wan't nice code or faster execution. I think you found the correct solution for the paradox. Use for-loops when performance really matters, but use foreach when it don't. </p><p></p><p>Like i said earlier, nice going. :wink: </p><p></p><p>I'we looked on the AMS-XML stuff. Seems to me that starting some of the methods gets called over 200 times for the same 30 or so values in MediaPortal.xml. Several of the times the class is even re-reading the file from disc. </p><p></p><p>Maybe I can come up with a solution to at least keep the re-reading from happening during MP-startup.</p><p></p><p>Ojo</p></blockquote><p></p>
[QUOTE="ojo, post: 3066, member: 10402"] Sorry I didn't check that. :( Its a tradeoff. Do You wan't nice code or faster execution. I think you found the correct solution for the paradox. Use for-loops when performance really matters, but use foreach when it don't. Like i said earlier, nice going. :wink: I'we looked on the AMS-XML stuff. Seems to me that starting some of the methods gets called over 200 times for the same 30 or so values in MediaPortal.xml. Several of the times the class is even re-reading the file from disc. Maybe I can come up with a solution to at least keep the re-reading from happening during MP-startup. Ojo [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Yet a couple of other performance suggestions
Contact us
RSS
Top
Bottom