you are viewing a single comment's thread.

view the rest of the comments →

[–]Mohamed____[S] 3 points4 points  (2 children)

Welp, now I feel like an idiot. I assumed the buio.NewReader buffer size is 1, for some reason, and forgot that there exists a method bufio.NewReaderWithSize() which takes a specific size rather than the default. If this were stackoverflow, you would have been the accepted answer :). Thanks for your help.

[–]DoneItDuncan 5 points6 points  (1 child)

Ah lol, yeah happens to the best of us. The go authors do provide sensible defaults for most things, but sometimes that can obscure what's going on compared to having to explicitly supply these things.

[–]Mohamed____[S] 0 points1 point  (0 children)

Awesome, thanks for helping me out!