From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Thu, 4 Apr 2019 15:10:32 +0300 From: Konstantin Osipov Subject: Re: [PATCH 09/13] vinyl: forward tuple comparison hints to memory tree Message-ID: <20190404121032.GF28969@chai> References: <358d327ef53010318bb2baa0ced4c69280ab51af.1554225074.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <358d327ef53010318bb2baa0ced4c69280ab51af.1554225074.git.vdavydov.dev@gmail.com> To: Vladimir Davydov Cc: tarantool-patches@freelists.org List-ID: * Vladimir Davydov [19/04/02 20:35]: > Instead of computing a statement comparison hint in a vy_mem method, > forward it from the upper level, which already has it computed. > > Apart from eliminating extra calls to vy_stmt_hint, this is also a > prerequisite 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