4839 {
4840#ifdef DUCKDB_DEBUG_NO_INLINE
4841 if (a.GetSize() != b.GetSize()) {
4842 return false;
4843 }
4844 return (memcmp(a.GetData(), b.GetData(), a.GetSize()) == 0);
4845#endif
4846 uint64_t a_bulk_comp = Load<uint64_t>(const_data_ptr_cast(&a));
4847 uint64_t b_bulk_comp = Load<uint64_t>(const_data_ptr_cast(&b));
4848 if (a_bulk_comp != b_bulk_comp) {
4849
4850 return false;
4851 }
4852
4853 a_bulk_comp = Load<uint64_t>(const_data_ptr_cast(&a) + 8u);
4854 b_bulk_comp = Load<uint64_t>(const_data_ptr_cast(&b) + 8u);
4855 if (a_bulk_comp == b_bulk_comp) {
4856
4857 return true;
4858 }
4859 if (!a.IsInlined()) {
4860
4861 if (memcmp(a.value.pointer.ptr, b.value.pointer.ptr, a.GetSize()) == 0) {
4862 return true;
4863 }
4864 }
4865
4866
4867
4868 return false;
4869 }