- May 14, 2008
- 3,558
- 434
- Home Country
-
Germany
As i don't know how to modify the for for more speed i tried to fix the double processing.
Simple changing:
to
works fine. No issues with tvguie until now and already a lot faster.
OK the slowest thing in the for loop is the RenderChannel function - and this one sets the retdot - so hopefully this will be solved by gibman's patch.
Simple changing:
Code:
if (updateScreen)
{
if (iCurOff == _channelOffset)
{
Correct();
UpdateCurrentProgram();
return;
}
Correct();
Update(false);
SetFocus();
to
Code:
if (updateScreen)
{
if (iCurOff == _channelOffset)
{
Correct();
UpdateCurrentProgram();
return;
}
Correct();
// removed as update is already called before
// Update(false);
SetFocus();
works fine. No issues with tvguie until now and already a lot faster.
OK the slowest thing in the for loop is the RenderChannel function - and this one sets the retdot - so hopefully this will be solved by gibman's patch.