lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Em sáb., 3 de out. de 2020 às 10:15, Ranier Vilela <> escreveu:

There are more suggestions.

1. In function luaL_execresult (lauxlib.c), var  "what", can be reduced scope.
2. In function pusherror (loadlib.c), var "error", shadows function error.
3. In function l_str2d (lobject.c), is possible avoid call strlen,
    if we reverse the test and pdot is equal to NULL.
Any answers for items 1, 2 and 3?

Ranier Vilela