You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an || ep->key == key condition, but it's checked in an optimized way (only do string comparison when the hash is the same) later, and only for non-dummy keys. Also there's a similar comparison in the perturb loop.
Why was that comparison added there?
The text was updated successfully, but these errors were encountered:
Triang3l
changed the title
Weird condition in Dictionary::Retrieve
String comparison in Dictionary::Retrieve
Jul 23, 2016
libRocket/Source/Core/Dictionary.cpp
Line 240 in 1959def
There is an
|| ep->key == key
condition, but it's checked in an optimized way (only do string comparison when the hash is the same) later, and only for non-dummy keys. Also there's a similar comparison in the perturb loop.Why was that comparison added there?
The text was updated successfully, but these errors were encountered: