Revision 680680

Go back to digest for 1st July 2007

Optimization in KDE Base

Nick Shaforostoff committed changes in /trunk/KDE/kdelibs:

gzip kio_http cache entries: 10%-80% space gain;
do cache cleaning based on 'age/hitting_frequency' formula, instead of just 'age'
also, reduce structures' size by some bytes by reordering their members (yes, it makes sense for g++ -O2)

File Changes

Modified 6 files
  • /trunk/KDE/kdelibs
  •   /khtml/khtml_pagecache.cpp
  •   /khtml/khtmlpart_p.h
  •   /kio/kio/previewjob.cpp
  •   /kioslave/http/http.cpp
  •   /kioslave/http/http.h
  •   /kioslave/http/http_cache_cleaner.cpp
6 files changed in total