lazy_decode memory allocation tuning

This commit is contained in:
Arvid Norberg 2008-11-10 04:15:29 +00:00
parent 45de012553
commit 7306b60682
1 changed files with 3 additions and 6 deletions

View File

@ -37,12 +37,9 @@ POSSIBILITY OF SUCH DAMAGE.
namespace namespace
{ {
enum const float lazy_entry_grow_factor = 1.5f;
{ const int lazy_entry_dict_init = 5;
lazy_entry_grow_factor = 3, const int lazy_entry_list_init = 5;
lazy_entry_dict_init = 30,
lazy_entry_list_init = 50
};
} }
namespace libtorrent namespace libtorrent