forked from mirror/DotRecast
Merge branch 'risky_optimizations'
This commit is contained in:
commit
2cf9d9de18
|
@ -80,6 +80,7 @@ namespace DotRecast.Detour.Crowd
|
|||
if (!_items.TryGetValue(key, out var ids))
|
||||
{
|
||||
ids = _listPool.Get();
|
||||
ids.Clear();
|
||||
_items.Add(key, ids);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue