Calculates a hash code for the string.
Note |
---|
This may produce identical keys for strings 16 characters and longer even though the input strings are unique, but is faster for large strings. If you want to ensure unique hashes for long string, use the overloaded CalculateHash function with Skip = 1 |
Namespace: HelperFunctions
Delphi |
function CalculateHash( const AString: String ): Cardinal; overload; |
Parameters
AString
Type: String
Type: Cardinal
Reference |