diff --git a/internal/runtime/internal/controller/node_config_foreach.go b/internal/runtime/internal/controller/node_config_foreach.go index edc864bbfc..3707d80fae 100644 --- a/internal/runtime/internal/controller/node_config_foreach.go +++ b/internal/runtime/internal/controller/node_config_foreach.go @@ -378,6 +378,7 @@ func (fi *forEachChild) Equals(other runner.Task) bool { } // This function uses a 256 bits hash to minimize the risk of collisions between foreach children. +// If this is ever a performance bottleneck, it should still be totally safe to switch the 64bits hash. func computeHash(s string) string { hasher := sha256.New() hasher.Write([]byte(s))