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!)
Faster browsing in MyVideos
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="jjj" data-source="post: 149102" data-attributes="member: 48509"><p>I've had some serious performance problems when browsing folders in MyVideos, it could take anywhere from 5 to 20 seconds to enter a folder. I've been doing some debugging and it turned out that SetIMDBThumbs used something like 4*n^2 operations (n being the number of files in a folder), when entering a folder and the stacking algorithm was n^2 as well. Since I have 300 files in my main movie folder, it took quite a while to do the initial processing when entering that folder.</p><p>I've changed SetIMDBThumbs to be linear in the number of operations (excluding DB ops), using just the functions that were already in the VideoDatabase class (plus 1 extra utility function). The stacking has been changed to a n*log n algorithm.</p><p></p><p>I'll be doing som testing over the next couple of days and submit a patch if everything works as expected.</p><p></p><p>Cheers</p><p>John</p></blockquote><p></p>
[QUOTE="jjj, post: 149102, member: 48509"] I've had some serious performance problems when browsing folders in MyVideos, it could take anywhere from 5 to 20 seconds to enter a folder. I've been doing some debugging and it turned out that SetIMDBThumbs used something like 4*n^2 operations (n being the number of files in a folder), when entering a folder and the stacking algorithm was n^2 as well. Since I have 300 files in my main movie folder, it took quite a while to do the initial processing when entering that folder. I've changed SetIMDBThumbs to be linear in the number of operations (excluding DB ops), using just the functions that were already in the VideoDatabase class (plus 1 extra utility function). The stacking has been changed to a n*log n algorithm. I'll be doing som testing over the next couple of days and submit a patch if everything works as expected. Cheers John [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Faster browsing in MyVideos
Contact us
RSS
Top
Bottom