Revision 798245

Go back to digest for 20th April 2008

Optimization in KDE Base

Germain Garand committed changes in /trunk/KDE/kdelibs/khtml:

Preloading of network resources via a side-tokenizer.

based on patch by Antti Koivisto, ported and reworked so that it is simpler and more efficient.

What it does is, while the main tokenizer is blocked because of a script that's not yet arrived - scan ahead the content we have already received in order to locate and start requesting other resources.

This cuts the loading time in half on many high profile pages!

File Changes

Added 2 files
  • /trunk/KDE/kdelibs/khtml/html
  •   /htmlprospectivetokenizer.cpp
  •   /htmlprospectivetokenizer.h
Modified 5 files
  • /trunk/KDE/kdelibs/khtml
  •   /CMakeLists.txt
  •   /html/htmltokenizer.cpp
  •   /html/htmltokenizer.h
  •   /misc/loader.cpp
  •   /misc/loader.h
7 files changed in total