Revision 605074

Go back to digest for 19th November 2006

Optimization in Networking Tools

Joris Guisson committed changes in /trunk/extragear/network/ktorrent/libktorrent:

Changes :
- Spread out download hash check over time as the pieces come in, this will limit CPU peaks when a big chunk is finished downloading
- Made SHA1 generator a bit more efficient, by avoiding a memory allocation and a copy of the input data

File Changes

Modified 5 files
  • /trunk/extragear/network/ktorrent/libktorrent
  •   /torrent/chunkdownload.cpp
  •   /torrent/chunkdownload.h
  •   /torrent/downloader.cpp
  •   /util/sha1hashgen.cpp
  •   /util/sha1hashgen.h
5 files changed in total