p3(data.go): set initial slice size to our needs

This commit is contained in:
leo 2023-03-15 19:29:58 +01:00
parent a5a6d08f83
commit b07eead130
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -13,7 +13,7 @@ import (
)
func readData(f *os.File) ([][]float64, error) {
records := make([][]string, 0, 252)
records := make([][]string, 0, 251)
r := csv.NewReader(f)
for {