Compare commits

...

2 Commits

Author SHA1 Message Date
wrenge 2cf9d9de18 Merge branch 'risky_optimizations' 2024-11-13 14:20:49 +03:00
wrenge d2082c6586 Added clear 2024-11-13 14:20:38 +03:00
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ namespace DotRecast.Detour.Crowd
if (!_items.TryGetValue(key, out var ids))
{
ids = _listPool.Get();
ids.Clear();
_items.Add(key, ids);
}