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
parent
416c02ef3a
commit
668339f936
|
@ -1262,7 +1262,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
public class InventoryStringBuilder
|
public class InventoryStringBuilder
|
||||||
{
|
{
|
||||||
private StringBuilder BuildString = new StringBuilder(16384);
|
private StringBuilder BuildString = new StringBuilder(1024);
|
||||||
|
|
||||||
public InventoryStringBuilder(UUID folderID, UUID parentID)
|
public InventoryStringBuilder(UUID folderID, UUID parentID)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue