Optimization in KDE Base
pretty straightforward and small optimization of kde apps startup time:
avoid calculating luma for the same colors multiple times.
callgrind shows it is now called 4503 times
instead of 12087 during startup of kwrite ( 1.5% integral cost).
avoid allocating several temp instances of QByteArray for the same char array