| 25 | InitDefaultConfig(); |
| 26 | |
| 27 | std::size_t Configuration::Hash() const { |
| 28 | static constexpr size_t kHashSeed = 0; |
| 29 | size_t result = kHashSeed; |
| 30 | arrow::internal::hash_combine(result, static_cast<size_t>(optimize_)); |
| 31 | arrow::internal::hash_combine(result, static_cast<size_t>(target_host_cpu_)); |
| 32 | arrow::internal::hash_combine( |
| 33 | result, reinterpret_cast<std::uintptr_t>(function_registry_.get())); |
| 34 | return result; |
| 35 | } |
| 36 | |
| 37 | bool Configuration::operator==(const Configuration& other) const { |
| 38 | return optimize_ == other.optimize_ && target_host_cpu_ == other.target_host_cpu_ && |