Austin Harris

Results 32 comments of Austin Harris

we don't have tests for any of the standard exceptions

Maybe this has been answered somewhere else, so sorry if asking again. Does this mean that there is no way to pass data without doing a full copy? With Pinvoke...

@furesoft That would be great, thanks!

Workaround here: https://github.com/Astn/JSON-RPC.NET/pull/83#discussion_r124734273

Now possible https://github.com/Astn/JSON-RPC.NET/blob/82d23f1259be9e931cbe6dcff60df8330d49b471/Json-Rpc/JsonRpcProcessor.cs#L49

Ahh, good find. Did you already make a fix?

Zero allocation would be amazing! I have a use case where I merge (add) objects. For simplicity I'll demonstrate in JSON. ```json { "who": "cat" } ``` mergeWith() ```json {...

> > I can serialized the object back into the same byte[] to avoid allocating a new byte[]. > > Are you using FlatSharp for this? I'm actually cheating a...

I don't think I would use an object pool in my case. I would look for a completely stack based solution. If I'm force to allocate then I'd prefer to...