3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-05 13:56:03 +00:00

improve perf

This commit is contained in:
Don Syme 2025-09-17 00:58:15 +01:00
parent b858070387
commit 6fe095c40c
2 changed files with 3 additions and 5 deletions

View file

@ -6,7 +6,7 @@
#include <random>
struct int_hash {
unsigned operator()(int k) const { return static_cast<unsigned>(k); }
unsigned operator()(int k) const { return static_cast<unsigned>(k) * 2654435761U; }
};
struct int_eq {