Skip to content

Add Equal() helper method to pcommon.Value #12561

Closed
@dmathieu

Description

@dmathieu
          nit: I know that `AsRaw()` could make a copy of the data. This is a reminder that it would be nice if you could write `a.Value().Equal(value)` and avoid the allocation.

Originally posted by @jmacd in #12390 (comment)

So we don't need to use AsRaw to do value comparison.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions