code: func (h *Histogram) Equals(other *Histogram) bool {
  	if h.useLocks {
  		h.mutex.RLock()
  		defer h.mutex.RUnlock()
  	}
  	if other.useLocks {
  		other.mutex.RLock()
  		defer other.mutex.RUnlock()
  	}
  	switch {
  	case
  		h.used != other.used:
  		return false
  	default:
  		for i := uint16(0); i < h.used; i++ {
  			if h.bvs[i].compare(&other.bvs[i]) != 0 {
  				return false
  			}
  			if h.bvs[i].count != other.bvs[i].count {
  				return false
  			}
  		}
  	}
  	return true
  }
docs: // Equals returns true if the two Histograms are equivalent, false if not.