Optimization in KDE-PIM
Speed up folder switching a bit more:
- use QChar instead of QCharRef in swapEndian()
- build the serial cache of a folder when opening it with the headerview
Now the remaining slowness comes from Qt, especially from Q3ListView::paintBranches(), which sucks away most of the CPU.