From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Thu, 4 Apr 2019 15:11:35 +0300 From: Konstantin Osipov Subject: Re: [PATCH 10/13] vinyl: forward tuple comparison hints to cache tree Message-ID: <20190404121135.GG28969@chai> References: <38fae51f79640eff1f2b31f7d41e479386534c5f.1554225074.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <38fae51f79640eff1f2b31f7d41e479386534c5f.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_cache method, > forward it from the read iterator, 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