Re:Nim v2.0 Released
by janAkali on Tuesday August 01, 2023 @11:43AM
(#36957530)
Nim's default json library is terrible in performance, but there're much faster drop-in replacements like jsony[1]. I'm not sure that's the main issue for low rank, but it's definitely one of them.
Re:Nim v2.0 Released
by treeform on Tuesday August 01, 2023 @01:09PM
(#36958930)
I would not call std/json it "terrible in performance" probably still way faster then what you get in many other languages (like python). But yes the JSON lib I wrote is faster due to avoiding branches and allocations.
1. https://github.com/treeform/jsony