mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
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"
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user