Port HashedString32 #55
Labels
enhancement
mezzanine port
The code for this exists in the old Mezzanine and should be copied and modified from there.
Milestone
Port over the HashedString32 class and its tests from the monolithic repo.
https://github.com/BlackToppStudios/Mezzanine/blob/master/Mezzanine/src/hashedstring.h
https://github.com/BlackToppStudios/Mezzanine/blob/master/Mezzanine/src/hashedstring.cpp
https://github.com/BlackToppStudios/Mezzanine/blob/master/UnitTests/tests/hashedstringtests.h
This was originally written pre-c++11, prior to the existence of std::hash. This may or may not be worthwhile for us to use, as the actual hashing algorithm is implementation defined (as long as it meets certain standardized criteria). So we should evaluate if we want the the std implementation, interface, or none. In the event we decide to port our own hashing implementation these files should be used:
https://github.com/BlackToppStudios/Mezzanine/blob/master/Mezzanine/src/Internal/murmurhash3.h.cpp
https://github.com/BlackToppStudios/Mezzanine/blob/master/Mezzanine/src/Internal/murmurhash3.cpp
The text was updated successfully, but these errors were encountered: