public static Dictionary <TKey, TValue> AllocateAndClear <TKey, TValue>( this SimplePool <Dictionary <TKey, TValue> > pool) { var map = pool.Allocate(); map.Clear(); return(map); }
public static Dictionary <TKey, TValue> AllocateAndClear <TKey, TValue>( this SimplePool <Dictionary <TKey, TValue> > pool) { var map = pool.Allocate(); map.Clear(); return(map); }