Optimize ThreadLocal by removing size check

This commit is contained in:
2021-08-30 20:29:58 +02:00
parent ab8e0fdd46
commit 074aa8c3fb
-1
View File
@@ -81,7 +81,6 @@ protected:
FORCE_INLINE int32 GetIndex()
{
ASSERT(Count() < MaxThreads);
int64 key = (int64)Platform::GetCurrentThreadID();
auto index = Hash(key);
while (true)