BigFile/Sasquatch #1

Merged
rboullard merged 100 commits from BigFile into Development 2026-09-01 16:32:02 +00:00
Showing only changes of commit fff7733cdb - Show all commits
@@ -84,8 +84,6 @@ class UUID
static UUID NULL_UUID;
private:
friend struct std::hash<UUID>;
/**
* The uuid.
*/
@@ -107,25 +105,14 @@ class UUID
template<>
struct std::hash<Bigfoot::UUID>
{
std::size_t operator()(const Bigfoot::UUID& p_uuid) const noexcept
{
return std::hash<uuids::uuid>()(p_uuid.m_uuid);
}
};
/****************************************************************************************/
template<>
struct ankerl::unordered_dense::hash<Bigfoot::UUID>
{
using is_avalanching = void;
[[nodiscard]]
std::uint64_t operator()(const Bigfoot::UUID& p_uuid) const noexcept
std::size_t operator()(const Bigfoot::UUID& p_uuid) const noexcept
{
const auto bytes = p_uuid.ToBytes();
return detail::wyhash::hash(bytes.data(), bytes.size());
return ankerl::unordered_dense::detail::wyhash::hash(bytes.data(), bytes.size());
}
};