dbms: tiny improvement [#METR-2944].

This commit is contained in:
Alexey Milovidov 2014-05-12 00:49:08 +04:00
parent c0e1aa8f2c
commit 4f15ea1c09

View File

@ -78,7 +78,7 @@ struct IntHash32Impl
static UInt32 apply(UInt64 x)
{
/// seed взят из /dev/urandom.
/// seed взят из /dev/urandom. Он позволяет избежать нежелательных зависимостей с хэшами в разных структурах данных.
return intHash32<0x75D9543DE018BF45ULL>(x);
}
};
@ -89,7 +89,7 @@ struct IntHash64Impl
static UInt64 apply(UInt64 x)
{
return intHash64(x);
return intHash64(x ^ 0x4CF2D2BAAE6DA887ULL);
}
};