Ian Lance Taylor <[email protected]> writes: > > Thanks, I think you're right. > > I suppose I'm not sure why a counter would help very much in practice. > The scenario in which it helps doesn't seem like a common one. But you > could try it and see if it helps with any benchmarks.
I agree, counter may not help very much but will not hurt much either I suppose. Besides I think it is more precise than 1-bit flag. I will make some experiments on benchmarks. Regards. Lidong -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/3BBE0405-2A2F-4DD2-AC0B-22EAF3DCA728%40gmail.com.
