If you are looking to squeeze a little extra performance out of SRP Hash Tables, you can use these raw methods instead of SRP_HashTable.

MethodDescription
SRP_HashTable_CreateCreates an SRP Hash Table
SRP_HashTable_ContainsDetermines whether or not a key exists in an SRP Hash Table
SRP_HashTable_CountGets the number of key-value pairs in an SRP Hash Table
SRP_HashTable_GetGet the value paired with a given key in an SRP Hash Table
SRP_HashTable_GetKeysGets all the keys of an SRP Hash Table in no particular order
SRP_HashTable_GetValuesGets all the values stored in an SRP Hash Table in no particular order
SRP_HashTable_GetKeyValuePairsGets all the keys and their paired values of an SRP Hash Table in no particular order
SRP_HashTable_SetPairs a value with a given key in an SRP Hash Table
SRP_HashTable_ReleaseReleases the handle to an SRP Hash Table
SRP_HashTable_RemoveRemoves a key and it's paired value from an SRP Hash Table

Don't forget to release your SRP Hash Table handles. Always.

  • No labels