func (th *TopologyHint) IsEqual(topologyHint TopologyHint) bool {
	if th.Preferred == topologyHint.Preferred {
		if th.NUMANodeAffinity == nil || topologyHint.NUMANodeAffinity == nil {
			return th.NUMANodeAffinity == topologyHint.NUMANodeAffinity
		}
		return th.NUMANodeAffinity.IsEqual(topologyHint.NUMANodeAffinity)
	}
	return false
}
// IsEqual checks if TopologyHint are equal
IsEqual checks if TopologyHint are equal
// IsEqual checks if TopologyHint are equal
func (th *TopologyHint) IsEqual(topologyHint TopologyHint) bool {
	if th.Preferred == topologyHint.Preferred {
		if th.NUMANodeAffinity == nil || topologyHint.NUMANodeAffinity == nil {
			return th.NUMANodeAffinity == topologyHint.NUMANodeAffinity
		}
		return th.NUMANodeAffinity.IsEqual(topologyHint.NUMANodeAffinity)
	}
	return false
}
func ( th * TopologyHint ) IsEqual ( topologyHint TopologyHint ) bool { if th . Preferred == topologyHint . Preferred { if th . NUMANodeAffinity == nil || topologyHint . NUMANodeAffinity == nil { return th . NUMANodeAffinity == topologyHint . NUMANodeAffinity } return th . NUMANodeAffinity . IsEqual ( topologyHint . NUMANodeAffinity ) } return false }
IsEqual checks if TopologyHint are equal
IsEqual checks if TopologyHint are equal