Remove Lua-MsgPack serializer hints 'array' and 'map'.
In Lua, by definition, an array is something that is indexed from 1 and doesn't have gaps in indexes. This can be easily checked without serializer hints. Tuple to YAML conversion should not go through a temporary conversion to a Lua table in the future, so it should also not be an argument for slowing things down.
Showing
- src/box/lua/tuple.cc 0 additions, 3 deletionssrc/box/lua/tuple.cc
- src/lua/msgpack.cc 2 additions, 26 deletionssrc/lua/msgpack.cc
- src/lua/utils.c 18 additions, 59 deletionssrc/lua/utils.c
- src/lua/utils.h 2 additions, 21 deletionssrc/lua/utils.h
- test/box/lua.result 1 addition, 2 deletionstest/box/lua.result
- test/box/msgpack.result 9 additions, 21 deletionstest/box/msgpack.result
- test/box/msgpack.test.lua 2 additions, 4 deletionstest/box/msgpack.test.lua
- third_party/lua-yaml/lyaml.c 1 addition, 1 deletionthird_party/lua-yaml/lyaml.c
Loading
Please register or sign in to comment