Skip to content

Commit

Permalink
use []byte
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav committed May 21, 2024
1 parent 10179b0 commit d25da38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/engine/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ func BenchmarkPopulateMatchingDetectors(b *testing.B) {

b.ResetTimer()
for i := 0; i < b.N; i++ {
ac.FindDetectorMatches(chunk) // Match against the single chunk
ac.FindDetectorMatches([]byte(chunk)) // Match against the single chunk
}
})
}
Expand Down

0 comments on commit d25da38

Please sign in to comment.