[Tarantool-patches] [PATCH v3] qsync: provide box.info interface for monitoring
Cyrill Gorcunov
gorcunov at gmail.com
Thu Apr 8 10:40:03 MSK 2021
On Thu, Apr 08, 2021 at 10:34:56AM +0300, Serge Petrenko wrote:
> > +static int
> > +lbox_info_synchro(struct lua_State *L)
> > +{
> > + lua_newtable(L);
>
> Maybe change to lua_createtable(L, 0, 2) ?
> This will be consistent with what is done below, and lua doc
> states that'll be a bit faster:
> https://www.lua.org/manual/5.3/manual.html#lua_newtable
> (sorry, a direct link to lua_createtable didn't work)
Sure! Thanks!
More information about the Tarantool-patches
mailing list