Re: [vdr] [ANNOUNCE] VDR-1.5.12: some "micro" speed improvements

2007-12-28 Thread Reinhard Nissl
Hi, Reinhard Nissl schrieb: > the first patch optimizes cNitFilter::Process() by looping only over the > relevant channels. It introduces a further hash in cChannels and > implements an iterator for hiding this implementation detail. Sorry, but a line from the DVB-S2 patch slipped through. Pleas

Re: [vdr] [ANNOUNCE] VDR-1.5.12: some "micro" speed improvements

2007-12-28 Thread Reinhard Nissl
Hi, the first patch optimizes cNitFilter::Process() by looping only over the relevant channels. It introduces a further hash in cChannels and implements an iterator for hiding this implementation detail. The channel_display patch avoids to call DrawText() when the "date" text has not changed in t

Re: [vdr] [ANNOUNCE] VDR-1.5.12: some "micro" speed improvements

2007-12-27 Thread Reinhard Nissl
Hi, the attached crc32 seems to be 2 % faster than the original. Bye. -- Dipl.-Inform. (FH) Reinhard Nissl mailto:[EMAIL PROTECTED] --- ../vdr-1.5.12-orig/libsi/util.c 2006-02-18 12:17:50.0 +0100 +++ libsi/util.c 2007-12-27 22:14:56.0 +0100 @@ -219,58 +219,73 @@ time_t DVBTime::g

Re: [vdr] [ANNOUNCE] VDR-1.5.12: some "micro" speed improvements

2007-12-27 Thread Georg Acher
On Thu, Dec 27, 2007 at 12:42:30AM +0100, Reinhard Nissl wrote: > Hi, > > some more patches: > > HASHSIZE should be a prime: 512 looks like a typo of 521. That is related to my original hash patch a few years ago. It is not a typo! If you don't have a special distribution with clusters it doesn'

Re: [vdr] [ANNOUNCE] VDR-1.5.12: some "micro" speed improvements

2007-12-27 Thread Clemens Kirchgatterer
Reinhard Nissl <[EMAIL PROTECTED]> wrote: > oprofile also showed strreplace among the top 10 when profiling a 120 > second VDR session. Please find attached a "faster" solution. i applied all your patches and indeed, vdr feels more responsive now on the geode vdr client. no stabillity issues yet.

Re: [vdr] [ANNOUNCE] VDR-1.5.12: some "micro" speed improvements

2007-12-27 Thread Clemens Kirchgatterer
Reinhard Nissl <[EMAIL PROTECTED]> wrote: > the attached patches speed up starting and stopping VDR on slow > machines with huge channels.conf files, by avoiding some n / 2 * (n + > 1) loops. > > Please test them and report bugs here. i have your first patch (with the hashzise bug) running for a

Re: [vdr] [ANNOUNCE] VDR-1.5.12: some "micro" speed improvements

2007-12-26 Thread Eddi De Pieri
Il giorno dom, 23/12/2007 alle 22.46 +0100, Reinhard Nissl ha scritto: > Hi, > > the attached patches speed up starting and stopping VDR on slow machines > with huge channels.conf files, by avoiding some n / 2 * (n + 1) loops. > > Please test them and report bugs here. Hi Reinhard, Your patch

Re: [vdr] [ANNOUNCE] VDR-1.5.12: some "micro" speed improvements

2007-12-26 Thread Reinhard Nissl
Hi, some more patches: HASHSIZE should be a prime: 512 looks like a typo of 521. oprofile and gprof showed the possibilty to speed up some OSD drawing operations. Please find attached a patch for DrawRectangle and DrawBitmap. BTW: text2skin will not benefit from the DrawBitmap changes as it uses