[Approved] speedup tvprograminfo (1 Viewer)

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    If you have a lot of schedules this patch speeds up tvprograminfo a lot as the loop is not used when the episode isn't scheduled at all.

    I think there a lot of other places where the boolean stuff could be used but i didnt tried it.

    Stefan
     

    Attachments

    • tvprograminfo_speedup.patch
      856 bytes

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    had to revert it :(
    see more details in mantis.

    It has issues when it's called through : tvprograminfo.CreateProgram(Program program, int scheduleType)

    /gibman
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: speedup tvprograminfo

    gibman
    here a new version which should take the problem into account
     

    Attachments

    • speedup2.patch
      851 bytes

    Users who are viewing this thread

    Top Bottom