Currently, in hash set, hash map and graph components, the hash function is passed as an argument of each function (by function pointer). So, hash function must be defined before the use of these components (Example: see our tests).
it's definitely very heavy! I realized that during graph coding.
Refactoring ? How (best practice) ?
Currently, in hash set, hash map and graph components, the hash function is passed as an argument of each function (by function pointer). So, hash function must be defined before the use of these components (Example: see our tests). it's definitely very heavy! I realized that during graph coding. Refactoring ? How (best practice) ?