aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-07-07 16:04:44 +0100
committerUbitUmarov2016-07-07 16:05:13 +0100
commit668339f9369d3206f5b6003b1e435aa922bbde95 (patch)
tree3637ce0efe2aef100abf5e54d355c8cf46e87463 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
parent hide the footprints of my previus bug ( take out comented code (diff)
downloadopensim-SC-668339f9369d3206f5b6003b1e435aa922bbde95.zip
opensim-SC-668339f9369d3206f5b6003b1e435aa922bbde95.tar.gz
opensim-SC-668339f9369d3206f5b6003b1e435aa922bbde95.tar.bz2
opensim-SC-668339f9369d3206f5b6003b1e435aa922bbde95.tar.xz
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"
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index 54c27cb..2841f7f 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -1262,7 +1262,7 @@ namespace OpenSim.Region.Framework.Scenes
1262 1262
1263 public class InventoryStringBuilder 1263 public class InventoryStringBuilder
1264 { 1264 {
1265 private StringBuilder BuildString = new StringBuilder(16384); 1265 private StringBuilder BuildString = new StringBuilder(1024);
1266 1266
1267 public InventoryStringBuilder(UUID folderID, UUID parentID) 1267 public InventoryStringBuilder(UUID folderID, UUID parentID)
1268 { 1268 {