[Tarantool-patches] [PATCH v2 1/2] lua: introduce table.equals method

Vladimir Davydov vdavydov at tarantool.org
Fri Aug 13 14:41:22 MSK 2021


On Fri, Aug 13, 2021 at 02:30:31AM +0300, Serge Petrenko wrote:
> Introduce table.equals for comparing tables.
> The method respects __eq metamethod, if provided.
> 
> Needed-for #5894
> ---
>  src/lua/table.lua           | 26 ++++++++++++++++++++++++++
>  test/app-tap/table.test.lua | 31 ++++++++++++++++++++++++++++++-
>  2 files changed, 56 insertions(+), 1 deletion(-)

LGTM (with the fix).


More information about the Tarantool-patches mailing list