performance improvements

This commit is contained in:
Jay
2025-10-23 09:38:59 -04:00
parent 5055c04629
commit 417c97f168
3 changed files with 47 additions and 40 deletions

View File

@@ -388,7 +388,7 @@ func TestEventFilterMatching(t *testing.T) {
t.Run(tc.name, func(t *testing.T) {
matchedIDs := []string{}
for _, event := range testEvents {
if tc.filter.Matches(event) {
if tc.filter.Matches(&event) {
matchedIDs = append(matchedIDs, event.ID[:8])
}
}