From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 18C4E6EC40; Fri, 13 Aug 2021 14:41:27 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 18C4E6EC40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1628854887; bh=iMSxWNNecU0J+6PHjrlomVfSGe3i6pavk7W6UlC6r0Q=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=IfFOfApm9N7ocaecEAwCOcKBqZu1ClPh6vHb7PwEXDgrrwxXcriDrFj5d6fXRgMVZ njXNnY2twCd4Mv/O8tU4KfaaoBl1KFFW6JqtCY0saSaTjM27ccBg2isETxRia3m/Ww DtBkChFW/iDBCMD0jUxkqZ8WnqKgVw3qJHTl6iRo= Received: from smtpng1.i.mail.ru (smtpng1.i.mail.ru [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 947956EC40 for ; Fri, 13 Aug 2021 14:41:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 947956EC40 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1mEVYy-0006TU-N9; Fri, 13 Aug 2021 14:41:25 +0300 Date: Fri, 13 Aug 2021 14:41:22 +0300 To: Serge Petrenko Message-ID: <20210813114122.yme52ees5ouycaqa@esperanza> References: <3a954f7793e6356cefb8cd0151a6434382ec876c.1628810253.git.sergepetrenko@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a954f7793e6356cefb8cd0151a6434382ec876c.1628810253.git.sergepetrenko@tarantool.org> X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD92087353F0EC44DD9D5AC6413C25DCF08CC98B8FCC5CD86F3182A05F538085040C3C649A827DFAE8FE5F1729E0184ABD46D64B68D9665A40E0C30BA5D7BA8D8DE X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7CA8E915ACC910FBDEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063737452AF4BFD067BF8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8DBA93AF28DE9CFCBBA02874CAE3462FE117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCAE9A1BBD95851C5BA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD18E5D25F19253116ADD2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B613439FA09F3DCB32089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: 0D63561A33F958A5E1AB1F8C5B7E6617E188FA17E7B37E88E3B778511789BF60D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA750E14360347543F58410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34F6CC1FD336696336547771B4FAB0C8D12112626DE0A7C72F791681D271FF9BB3FBA45997740A52BA1D7E09C32AA3244C52924A0DB35DA409BFC80B086ED488835595C85A795C7BAE927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj0dLV0c3jbkz4jNK+j454Xg== X-Mailru-Sender: 689FA8AB762F7393C37E3C1AEC41BA5DE963CDDE5B233DFFD6BD779F2DD79E7B274CEFED1673C562683ABF942079399BFB559BB5D741EB966A65DFF43FF7BE03240331F90058701C67EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v2 1/2] lua: introduce table.equals method X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Vladimir Davydov via Tarantool-patches Reply-To: Vladimir Davydov Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 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).