You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-29Lines changed: 30 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,46 +35,47 @@ print(json.decode([[
35
35
Using benchmarks/bench.lua [(which tests the simdjson twitter example)](https://raw.githubusercontent.com/simdjson/simdjson/master/jsonexamples/twitter.json) through WSL:
From here, you can see this library is significantly faster for `json.encode` in comparison to `json.decode`.
78
-
Additionally `decode` is faster on PUC-Lua than LuaJIT.
79
+
From here, you can see this library is fastest at encoding.
79
80
80
-
Currently working on making it faster for LuaJIT, but this is pretty hard to fix considering making it faster would require not using as many [lua patterns](https://www.lua.org/pil/20.2.html), which would slow down PUC-Lua.
81
+
Decoding is getting there. Currently balancing performance between PUC-Lua and Luajit.
0 commit comments