code: func newWeightedRandomSelect() *weightedRandomSelect {
  	return &weightedRandomSelect{root: &wrsNode{maxItems: wrsBranches}, idx: make(map[wrsItem]int)}
  }
docs: // newWeightedRandomSelect returns a new weightedRandomSelect structure