Fixed the bug that UnsafeSlotMap return wrong generation after resize.
This commit is contained in:
@@ -26,6 +26,6 @@ using Misaki.HighPerformance.Collections;
|
||||
using Misaki.HighPerformance.LowLevel.Buffer;
|
||||
using Misaki.HighPerformance.LowLevel.Collections;
|
||||
|
||||
var csm = new ConcurrentSlotMap<int>();
|
||||
var csm = new UnsafeSlotMap<int>();
|
||||
Console.WriteLine(csm.Contains(0, 0));
|
||||
Console.WriteLine(csm.Count == 0);
|
||||
Reference in New Issue
Block a user