Ben Haney
Ben Haney
The largest current memory-inefficiency when doing an encode involves an extra copy across the Rust-to-Elixir boundary to convert the final encoded Rust string to an Elixir binary. This can potentially...
OTP 24 includes a new JIT that should greatly increase the performance of non-NIF encoders like Jason and Poison. It will be interesting to see how much of the performance...
This is a summary and continuation of https://github.com/benhaney/Jsonrs/pull/26, by @filmor's request. It was recently suggested to me that Jsonrs should switch to using Rustler's new Serde integration as its backend,...
Quick drive-by issue just to note that this function doesn't behave like its comment says it does: https://github.com/rusterlium/rustler/blob/ef2045821a4ac3b2d2581edf653d8c5e7a8c37d5/rustler/src/serde/atoms.rs#L22-L37 Specifically, it says it returns a string term if there isn't already...
### Description This has been brought up a couple times before (#1967, #2644) and not implemented because it didn't seem like a common enough use case. I recently started using...