loop performance optimizations #5539
Annotations
10 errors
Build + tests:
pkg/appsec/appsec_rule/modsecurity.go#L105
rangeValCopy: each iteration copies 192 bytes (consider pointers or indexing) (gocritic)
|
Build + tests:
pkg/appsec/appsec_rule/modsecurity.go#L117
rangeValCopy: each iteration copies 192 bytes (consider pointers or indexing) (gocritic)
|
Build + tests:
pkg/acquisition/modules/docker/docker.go#L296
rangeValCopy: each iteration copies 224 bytes (consider pointers or indexing) (gocritic)
|
Build + tests:
pkg/acquisition/modules/docker/docker.go#L497
rangeValCopy: each iteration copies 224 bytes (consider pointers or indexing) (gocritic)
|
Build + tests:
pkg/dumps/parser_dump.go#L84
rangeValCopy: each iteration copies 392 bytes (consider pointers or indexing) (gocritic)
|
Build + tests:
pkg/dumps/parser_dump.go#L130
rangeValCopy: each iteration copies 392 bytes (consider pointers or indexing) (gocritic)
|
Build + tests:
pkg/dumps/parser_dump.go#L149
rangeValCopy: each iteration copies 376 bytes (consider pointers or indexing) (gocritic)
|
Build + tests:
pkg/exprhelpers/debugger.go#L346
rangeValCopy: each iteration copies 176 bytes (consider pointers or indexing) (gocritic)
|
Build + tests:
pkg/appsec/appsec_rules_collection.go#L53
rangeValCopy: each iteration copies 184 bytes (consider pointers or indexing) (gocritic)
|
Build + tests:
pkg/appsec/appsec_rules_collection.go#L102
rangeValCopy: each iteration copies 192 bytes (consider pointers or indexing) (gocritic)
|