Since it guarantees that I can't simultaneously add an element while taking out elements anymore, does it offer some performance benefit?
I was wondering if it would be a good idea to call it after adding a batch of items, so they can be consumed faster afterwards. And altho this means that I'll have to block adding until they are consumed and I can recreate the BlockingCollection from scratch, I could potentially just use multiple ones so at least one will be available at any given time or something like that.
1.4m articles
1.4m replys
5 comments
57.0k users