FAQ

On Mon, Jun 13, 2016 at 3:16 AM, wrote:
A single collator instance is NOT safe for concurrent use. The buffers are
only used to store the keys, but a Collator has some scratch buffers that
are used to avoid allocation.
Maybe the documentation could state this explicitly? I think I
probably would have assumed that Collator's were concurrency-safe too.

Best,
Sam



--
Sam Whited
pub 4096R/54083AE104EA7AD3
https://blog.samwhited.com

--
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/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 10 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJun 12, '16 at 5:33p
activeJun 13, '16 at 6:52p
posts10
users7
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase