p3(data.go): set initial slice size to our needs
This commit is contained in:
parent
a5a6d08f83
commit
b07eead130
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user