In func materializeSet on line 206 of iterator/materialize.go variable mn is declared and assigned 0 value. However, this value is never modified in the function. This is perhaps because of a typo on lines 223 and 235. Instead of n = mn, it probably should be mn = n.
This would not produce an error since mn is just an allocation size. However it probably is draining some performance.
Description
In
func materializeSet
on line 206 of iterator/materialize.go variablemn
is declared and assigned0
value. However, this value is never modified in the function. This is perhaps because of a typo on lines 223 and 235. Instead ofn = mn
, it probably should bemn = n
.This would not produce an error since
mn
is just an allocation size. However it probably is draining some performance.