-1 list allocation per frame yay
This commit is contained in:
parent
d498f8c3be
commit
032d1b85d6
|
@ -2396,12 +2396,12 @@ namespace BizHawk.Client.EmuHawk
|
|||
PathsFromDragDrop = null;
|
||||
});
|
||||
|
||||
List<string[]> todo = new();
|
||||
string[][] todo = Array.Empty<string[]>();
|
||||
lock (_singleInstanceForwardedArgs)
|
||||
{
|
||||
if (_singleInstanceForwardedArgs.Count > 0)
|
||||
{
|
||||
todo = new List<string[]>(_singleInstanceForwardedArgs);
|
||||
todo = _singleInstanceForwardedArgs.ToArray();
|
||||
_singleInstanceForwardedArgs.Clear();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue