forked from premiere/premiere-libtorrent
lazy_decode memory allocation tuning
This commit is contained in:
parent
45de012553
commit
7306b60682
|
@ -37,12 +37,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
namespace
|
||||
{
|
||||
enum
|
||||
{
|
||||
lazy_entry_grow_factor = 3,
|
||||
lazy_entry_dict_init = 30,
|
||||
lazy_entry_list_init = 50
|
||||
};
|
||||
const float lazy_entry_grow_factor = 1.5f;
|
||||
const int lazy_entry_dict_init = 5;
|
||||
const int lazy_entry_list_init = 5;
|
||||
}
|
||||
|
||||
namespace libtorrent
|
||||
|
|
Loading…
Reference in New Issue