Skip to content

Commit f9159b1

Browse files
committed
internal/runtime/maps: get rid of a few obsolete TODOs
Change-Id: I7b3d95c0861ae2b6e0721b65aa75cda036435e9c Reviewed-on: https://go-review.googlesource.com/c/go/+/625903 Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Michael Pratt <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent fe2da30 commit f9159b1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/internal/runtime/maps/table.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,11 @@ type table struct {
6868
// locality, but it comes at the expense of wasted space for some types
6969
// (consider uint8 key, uint64 element). Consider placing all keys
7070
// together in these cases to save space.
71-
//
72-
// TODO(prattmic): Support indirect keys/values? This means storing
73-
// keys/values as pointers rather than inline in the slot. This avoid
74-
// bloating the table size if either type is very large.
7571
groups groupsReference
7672
}
7773

7874
func newTable(typ *abi.SwissMapType, capacity uint64, index int, localDepth uint8) *table {
7975
if capacity < abi.SwissMapGroupSlots {
80-
// TODO: temporary until we have a real map type.
8176
capacity = abi.SwissMapGroupSlots
8277
}
8378

0 commit comments

Comments
 (0)