Brandon Simmons
Brandon Simmons
Can you please paste me the exact versions of the dependencies you're compiling with? (`atomic-primops` is the one I'm really interested in). Also `uname -a`.
(and GHC version, please)
Hm, I don't get this failure when trying to repro locally with ` ghc-8.0.1` (I don't have 8.0.2 installed atm) and `atomic-primops` 0.8.1.1. I'm not sure how to repro from...
Thanks for the input! Hmmm I'm not sure what you want is possible with the current implementation. Basically `readChanN n` would need to return with at least an _obligation_ for...
@twittner this may be relevant to your needs, but shortly I'm going to release a change to `Element` such that it allows both a non-blocking and a blocking read. This...
I think the interface for batched writes will be polymorphic, and look like: ``` writeChanMany :: Batch a=> InChan -> a -> IO () ``` where batch instances will be...
A simpler, and maybe more useful function is `flushChan` (name after `TQueue`) since we never need to block. Machinery might only be in place in `Bounded` since we need to...
Cool, I think I understand. It's tempting to try to organize this around a pre-allocated ring buffer: - a `bounds`-length array is allocated in `newChan` - writer increments a counter...
Haven't thought about your description, but I realized my hand-wavy description was inadequate: so if the writer laps the reader, and then shortl after the reader laps the writer, then...
- it might provide a means of _normalizing_ timing benchmarks, so that timing-based perf regression tests could be run on both, say, a powerful CI server and a devs local...