Calculates a hash code for the string.
Note |
---|
If the Skip parameter is greater than 1, this may produce identical keys for strings 16 characters and longer even though the input strings are unique, but is faster for large strings. |
Namespace: HelperFunctions
Delphi |
function CalculateHash( const AString: String; Skip: Integer ): Cardinal; overload; |
Parameters
AString
Type: String
Skip
Type: Integer
Number of characters to skip for large strings
Type: Cardinal
Reference |