Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[epg] Remove call a bit #7253

Merged
merged 1 commit into from
Jun 11, 2015
Merged

[epg] Remove call a bit #7253

merged 1 commit into from
Jun 11, 2015

Conversation

AlwinEsch
Copy link
Member

This change remove the amount of functions calls on egp load a bit.
In machine code are for around on 1 epg entry 2-4 calls removed, for 10000 epg entries it is a lot for me and can reduce the time a bit (Not much, but better as nothing)

This change is taken from #6877 to have only the there described fault on end.

@ksooo
Copy link
Member

ksooo commented Jun 10, 2015

+1 Looks sane to me.

@Jalle19
Copy link
Member

Jalle19 commented Jun 10, 2015

+1 jenkins build this please

@@ -859,6 +860,6 @@ bool CEpg::IsValid(void) const
{
CSingleLock lock(m_critSection);
if (ScraperName() == "client")
return Channel().get() != NULL;
return m_pvrChannel.get() != NULL;

This comment was marked as spam.

@AlwinEsch
Copy link
Member Author

Is updated, @opdenkamp has removed the change on the point with the bad lock.

@opdenkamp
Copy link
Member

great thanks

@AlwinEsch
Copy link
Member Author

jenkins build this please

@AlwinEsch
Copy link
Member Author

OK to merge? Then I add the next from #6877 to a new.

Jalle19 added a commit that referenced this pull request Jun 11, 2015
@Jalle19 Jalle19 merged commit bc4997c into xbmc:master Jun 11, 2015
@AlwinEsch AlwinEsch deleted the pvr-code-cleanup branch June 11, 2015 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants