added an option to save a little bit of RAM by not collecting full detailed stats

This commit is contained in:
Arvid Norberg
2010-02-08 05:43:54 +00:00
parent 3a9a133e55
commit 1a97405189
6 changed files with 85 additions and 8 deletions

View File

@@ -168,6 +168,15 @@ support, you need to patch parts of boost.
Also make sure to optimize for size when compiling.
reduce statistics
-----------------
You can save some memory for each connection and each torrent by reducing the
number of separate rates kept track of by libtorrent. If you build with ``full-stats=off``
(or ``-DTORRENT_DISABLE_FULL_STATS``) you will save a few hundred bytes for each
connection and torrent. It might make a difference if you have a very large number
of peers or torrents.
play nice with the disk
=======================