1. this patch optimizes listview filling with data for tvsetup - channel list for groups (both radio and TV). The optimization is done the same way as in ChannelListViewHandler.cs.
2. some lines were just moved to another location in file to get consistence within 2 files: ChannelsInGroupControl.cs and ChannelsInRadioGroupControl.cs - they do same things for TV and radio channels, and code is REALLY the same, so now it is easier to compare them
3. filter text in log entry "Filter listview for " is quoted now.
generally - this patch doesn't eliminate separate SQL queries for every channel listed, what takes significantly more time that listview filling. But with this optimization applied I won 9 seconds on my tv channel list with 4500 channels and got 37 seconds instead of 46 when switching to "All channels" group.
2. some lines were just moved to another location in file to get consistence within 2 files: ChannelsInGroupControl.cs and ChannelsInRadioGroupControl.cs - they do same things for TV and radio channels, and code is REALLY the same, so now it is easier to compare them
3. filter text in log entry "Filter listview for " is quoted now.
generally - this patch doesn't eliminate separate SQL queries for every channel listed, what takes significantly more time that listview filling. But with this optimization applied I won 9 seconds on my tv channel list with 4500 channels and got 37 seconds instead of 46 when switching to "All channels" group.
Attachments
Last edited by a moderator: