This commit is contained in:
Aliaksandr Valialkin 2024-05-09 02:57:31 +02:00
parent 48ed6abe75
commit 0519b1a714
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB

View file

@ -191,6 +191,7 @@ func getEmptyStrings(rowsCount int) []string {
if n := rowsCount - cap(values); n > 0 {
valuesNew := append(values[:cap(values)], make([]string, n)...)
emptyStrings.Store(&valuesNew)
values = valuesNew
}
return values[:rowsCount]
}