- Moderator
- #1
In my quest for speed/resource improvements in mediaportal i came across the property manager and discovered that it literally iterated through every property when it parses input (control labels etc.. ) combined with some unfortunate locking. On slower systems this is causing some problems, and on faster systems this could become a problem when lots of properties are being updated.
The best solution would be to reinvent the property tags but i leave that to MPII so i made a compatible solution that does not require any changes to existing code and skins. This patch optimizes the process by replacing only the required labels opposed to iterating through ALL labels everytime something needs to be parsed. I also eased the locking part. Ofcourse this means this patch will touch everything in mediaportal and could be considered high risk but from the first tests done by me and several users i can report positieve feedback in terms of a global speedup of mediaportal.
I already have another topic where i posted a patched core.dll (based on RC1) with this and my other patch implemented.
Please review the patch carefully. If no serious bugs are discovered i would like to have this implemented rather sooner than later as it can make a huge difference.
The best solution would be to reinvent the property tags but i leave that to MPII so i made a compatible solution that does not require any changes to existing code and skins. This patch optimizes the process by replacing only the required labels opposed to iterating through ALL labels everytime something needs to be parsed. I also eased the locking part. Ofcourse this means this patch will touch everything in mediaportal and could be considered high risk but from the first tests done by me and several users i can report positieve feedback in terms of a global speedup of mediaportal.
I already have another topic where i posted a patched core.dll (based on RC1) with this and my other patch implemented.
Please review the patch carefully. If no serious bugs are discovered i would like to have this implemented rather sooner than later as it can make a huge difference.
Netherlands