Sal
Sal
Yeah, I looked into buffer-builder-aeson before but wasn't sure what to make of it performance-wise. So, from performance perspective, would an encoding call like below be performance-wise almost as good...
Hmm, I just ran a benchmark using your benchmark script and a 29KB test.json. I modified it to add `encodeJson . toJSON` as `bufferbuilder2`. There is speed-up compared to `Aeson`...
@chadaustin, guess we all are in the same boat then :) I probably will come back to this if Aeson performance becomes a major issue, and take a shot. For...
I second this. It will be useful to have `O(1)` size function, just like what `vector`, `ByteString` etc. provide. For now, I can do `O(n)` using `toList` but that also...
Here is my code that reproduces the issue. First generate an "out" file using dd command - it is 11 bytes long: dd if=/dev/zero of=out bs=11 count=1 iflag=fullblock Now, run...
Some more investigation on this error - shared HTTP Manager seems to be the root cause here (which seems kind of obvious from the nature of error - something is...
This seems to be `http-client` bug. So, I have opened a [ticket](https://github.com/snoyberg/http-client/issues/204) there. I will leave it to you to decide whether to close this ticket, or wait for the...
On further investigation, it seems that [`ErrorResponse`](https://github.com/markhibberd/riak-haskell-client/blob/6acdc0223257f2071b4ef87b5d58204316b0130b/protobuf/src/Network/Riak/Protocol/ErrorResponse.hs#L10) is where the Riak exceptions are handled. It is defined as `Exception` [elsewhere](https://github.com/markhibberd/riak-haskell-client/blob/35ab4668e51a62a8921ff56f6baef83a2d2eacf3/src/Network/Riak/Connection/Internal.hs#L201) but not exported. So, probably this is the correct exception...
Ahem, my bad - please ignore the above. I forgot to specify type on `ghci` prompt when testing it. It works. However, it doesn't give me any error on multiple...
More on this - it seems `Network.Riak.JSON.put` indeeds stores new values on write (with `Nothing` as vector clock) - just silent overwriting as I verified by sending multiple values. The...