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 it's own copy of DrawBitmap.
oprofile also showed strreplace among the top 10 when profiling a 120 second VDR session. Please find attached a "faster" solution.
Bye.