|
client.currentMessage.Streams = append(client.currentMessage.Streams, stream) |
I'm just noting a possible issue. Wouldn't this line cause frequent extensions of the client.currentMessage.Streams, which would cause reallocations and slowdown? My recent performance tests didn't confirm this, but we might want to keep this in mind for the future.
apputils/connector/loki/loki.go
Line 245 in 3573b29
I'm just noting a possible issue. Wouldn't this line cause frequent extensions of the
client.currentMessage.Streams, which would cause reallocations and slowdown? My recent performance tests didn't confirm this, but we might want to keep this in mind for the future.