Revision 803048

Go back to digest for 4th May 2008

Optimization in Graphics

Pino Toscano committed changes in /trunk/KDE/kdegraphics/okular/core:

Internally replace a TextEntity with a "lighter version", that stores the raw UTF-16 data of the text.

This way, we can save about 4 int's for each text entity; this is not much for small documents, but with big documents with lots of text (eg, the PDF specs) we can save a lot (more than 50MB!).

File Changes

Modified 2 files
  • /trunk/KDE/kdegraphics/okular/core
  •   /textpage.cpp
  •   /textpage_p.h
2 files changed in total