mirror of https://github.com/x64dbg/TitanEngine
performance
This commit is contained in:
parent
3718dca0f8
commit
5d437ad23d
|
|
@ -710,7 +710,8 @@ long EngineHashString(char* szStringToHash)
|
|||
|
||||
if(szStringToHash != NULL)
|
||||
{
|
||||
for(i = 0; i < lstrlenA(szStringToHash); i++)
|
||||
const int strl = lstrlenA(szStringToHash);
|
||||
for(i = 0; i < strl; i++)
|
||||
{
|
||||
HashValue = (((HashValue << 7) | (HashValue >> (32 - 7))) ^ szStringToHash[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue