reduce the initial capacity of InventoryStringBuilder the 16k i added is

unreasonable for most cases. The coment about performance on a previus
commit refering to mantis 7904 was wrong, this changes will NOT do much in
terms of objects inventory download time, only a bit on cpu and memory
use"
LSLKeyTest
UbitUmarov 2016-07-07 16:04:44 +01:00
parent 416c02ef3a
commit 668339f936
1 changed files with 1 additions and 1 deletions

View File

@ -1262,7 +1262,7 @@ namespace OpenSim.Region.Framework.Scenes
public class InventoryStringBuilder
{
private StringBuilder BuildString = new StringBuilder(16384);
private StringBuilder BuildString = new StringBuilder(1024);
public InventoryStringBuilder(UUID folderID, UUID parentID)
{