From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Thu, 4 Apr 2019 15:12:05 +0300 From: Konstantin Osipov Subject: Re: [PATCH 11/13] vinyl: forward tuple comparison hints to read iterator Message-ID: <20190404121205.GH28969@chai> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: Vladimir Davydov Cc: tarantool-patches@freelists.org List-ID: * Vladimir Davydov [19/04/02 20:35]: > Pass a comparison hint along with a search key in the arguments instead > of computing it in the read iterator. This will allow to avoid computing > a hint for the second time in case the calling code already has it. > > Besides, it is needed for multikey indexes, which will reuse hints to > store offsets of indexed array entries and thus make hints impossible to > be computed in an arbitrary place in code. OK to push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov