Typically bufio is used when riding directly from a file (local/remove). It helps to optimise reads, by reading in chunks corresponding to a buffer size. In our case, the data is already read and is in memory. Simple string split should do the job and help to avoid issues like #101. Also I think it would be more efficient.
Typically
bufio
is used when riding directly from a file (local/remove). It helps to optimise reads, by reading in chunks corresponding to a buffer size. In our case, the data is already read and is in memory. Simple string split should do the job and help to avoid issues like #101. Also I think it would be more efficient.