package
1.22.2
Repository: https://github.com/go-asm/go.git
Documentation: pkg.go.dev

# Functions

EqCanPanic reports whether == on type t could panic (has an interface somewhere).
EqInterface returns the nodes s.tab == t.tab (or s.typ == t.typ, as appropriate) and ifaceeq(s.tab, s.data, t.data) (or efaceeq(s.typ, s.data, t.data), as appropriate) which can be used to construct interface equality comparison.
EqString returns the nodes len(s) == len(t) and memequal(s.ptr, t.ptr, len(s)) which can be used to construct string equality comparison.
EqStruct compares two structs np and nq for equality.
EqStructCost returns the cost of an equality comparison of two structs.
IsRegularMemory reports whether t can be compared/hashed as regular memory.
Memrun finds runs of struct fields for which memory-only algs are appropriate.