diff --git a/pkg/storage/enginepb/mvcc3_valueheader.go b/pkg/storage/enginepb/mvcc3_valueheader.go index 59f829433886..1937a9fcc7ee 100644 --- a/pkg/storage/enginepb/mvcc3_valueheader.go +++ b/pkg/storage/enginepb/mvcc3_valueheader.go @@ -15,10 +15,7 @@ import "github.com/cockroachdb/cockroach/pkg/util/buildutil" // IsEmpty returns true if the header is empty. // gcassert:inline func (h MVCCValueHeader) IsEmpty() bool { - // NB: We don't use a struct comparison like h == MVCCValueHeader{} due to a - // Go 1.19 performance regression, see: - // https://github.com/cockroachdb/cockroach/issues/88818 - return h.LocalTimestamp.IsEmpty() && h.KVNemesisSeq.Get() == 0 + return h == MVCCValueHeader{} } func (h *MVCCValueHeader) pure() MVCCValueHeaderPure {