FAQ
Le 19 juil. 2013 07:56, <guotie.9@gmail.com> a écrit :
I think bufio.ReadSlice() and bufio.ReadLine() should return the data's length.
In many case, when someone call bufio.ReadSlice(), if he want the data's
length, he must call len(data), if bufio.ReadSlice() return with data's
length, it avoid recalculate, and performance is higher too.
>

I disagree. What makes you think so?

Also since the signature of these methods cannot change, the discussion
belongs to golang-nuts.

Rémy.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJul 19, '13 at 6:04a
activeJul 19, '13 at 6:04a
posts1
users1
websitegolang.org

1 user in discussion

Rémy Oudompheng: 1 post

People

Translate

site design / logo © 2021 Grokbase