rewrite of swiss, swiss will not be public but l4 specific
This commit is contained in:
@@ -162,7 +162,7 @@ namespace Nitload.Common.HighPerformance.Memory
|
||||
}
|
||||
while (true)
|
||||
{
|
||||
if (_map.TryGet(prediction.GetHashCodeLong(), out nuint entryHandle))
|
||||
if (SwissTable.Reader.TryGet(_map, prediction.GetHashCodeLong(), out nuint entryHandle))
|
||||
{
|
||||
// cache hit
|
||||
CacheLineMetadata* entry = (CacheLineMetadata*)entryHandle;
|
||||
|
||||
Reference in New Issue
Block a user