openresty / lua-cjson

Lua CJSON is a fast JSON encoding/parsing module for Lua
http://www.kyne.com.au/~mark/software/lua-cjson.php
MIT License
434 stars 119 forks source link

segmentation fault in benchmark.lua #64

Closed stuta closed 4 years ago

stuta commented 4 years ago

OSX latest LuaJIT 2.1.0-beta3

luajit benchmark.lua
Benchmarking    1000000 times.
cjson encode     Elapsed:   1.818497s
capnp encode     Elapsed:   0.104733s
cjson decode     Elapsed:   2.268937s
[1]    52312 segmentation fault  luajit benchmark.lua
stuta commented 4 years ago

Sorry, wrong repo.