Commit 6dc3291b authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Improve match lookup for empty matches.

parent 556e8ff1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -480,7 +480,8 @@ func (t *LocalTracker) CountByStreamModeFilter(modes map[uint8]*uint8) map[*Pres
			continue
		}
		for s, ps := range byStreamMode {
			counts[&s] = int32(len(ps))
			cs := s
			counts[&cs] = int32(len(ps))
		}
	}
	t.RUnlock()