Comment Comment by byroot > I should point out that other Oj modes perform much better than the JSON gemWhich modes are that? https://github.com/ohler55/oj/blob/develop/pages/Modes.md#oj...I tried: Oj.dump(obj, mode: :strict) and a few others and none seemed faster than `json 2.9.1` on the benchmarks I use.Edit:Also most of these mode simply aren't correct in my opinion: >> Oj.dump(999.9999999999999, { mode: :compat }) => "999.9999999999999" >> Oj.dump(999.9999999999999, { mode: :strict }) => "1000" parent byroot 1 year ago
Which modes are that? https://github.com/ohler55/oj/blob/develop/pages/Modes.md#oj...
I tried:
and a few others and none seemed faster than `json 2.9.1` on the benchmarks I use.Edit:
Also most of these mode simply aren't correct in my opinion: