From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Thu, 4 Apr 2019 14:42:32 +0300 From: Konstantin Osipov Subject: Re: [PATCH 04/13] vinyl: store tuple comparison hints in tx read set Message-ID: <20190404114232.GC28969@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]: > This patch incorporates tuple comparison hints into the transaction > read set. Now, beside a statement, each read interval also stores hints > of boundary statements, which are used in all comparison operations. > > Apart from speeding up lookups, this is also needed for multikey index > support, because multikey indexes will reuse hints to store offsets of > indexed array entries. OK to push. > --- a/src/box/vy_read_set.h > +++ b/src/box/vy_read_set.h > @@ -39,6 +39,7 @@ > #define RB_COMPACT 1 > #include > > +#include "key_def.h" Isn't it better to define hint_t in tuple_compare.h to avoid extra includes? -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov