use some shared char arrays on string split

This commit is contained in:
UbitUmarov
2022-10-19 01:38:25 +01:00
parent 11005b24e9
commit fddb3761a0
24 changed files with 105 additions and 101 deletions

View File

@@ -2443,7 +2443,7 @@ namespace OpenSim.Framework.Servers.HttpServer
return;
}
string[] splited = methods.Split(new char[] { ',' });
string[] splited = methods.Split(Util.SplitCommaArray);
string method = splited[0];
if (string.IsNullOrWhiteSpace(method))
{