This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
== BUILD & RUN == | |
# get tncxx lib | |
git clone git@github.com:tarantool/tntcxx.git | |
# build & run the test | |
g++ tnt-bench.cpp -o tnt-bench-cxx -Itntcxx/src -DNDEBUG -lrt -O2 --std=c++17 | |
./tnt-bench-cxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
== BUILD & RUN == | |
# build msgpuck lib | |
git clone git@github.com:tarantool/msgpuck.git | |
cd msgpuck | |
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo | |
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"sync" | |
"time" | |
"github.com/tarantool/go-tarantool" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/box/lua/misc.cc b/src/box/lua/misc.cc | |
index e356f2d4b996..d82822cef2d1 100644 | |
--- a/src/box/lua/misc.cc | |
+++ b/src/box/lua/misc.cc | |
@@ -90,8 +90,17 @@ port_msgpack_dump_lua(struct port *base, struct lua_State *L, bool is_flat) | |
const char *args = port->data; | |
uint32_t arg_count = mp_decode_array(&args); | |
- for (uint32_t i = 0; i < arg_count; i++) | |
- luamp_decode(L, luaL_msgpack_default, &args); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"strings" | |
"sync" | |
"time" | |
"github.com/tarantool/go-tarantool" |
NewerOlder