(k, v value)
| 80 | } |
| 81 | |
| 82 | func (t *table) addOrInsertHash(k, v value) { |
| 83 | if _, ok := t.hash[k]; !ok { |
| 84 | t.iterationKeys = nil // invalidate iterations when adding an entry |
| 85 | } |
| 86 | t.hash[k] = v |
| 87 | } |
| 88 | |
| 89 | func (t *table) putAtInt(k int, v value) { |
| 90 | if 0 < k && k <= len(t.array) { |