From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 25 Feb 2019 20:14:44 +0300 From: Vladimir Davydov Subject: Re: [tarantool-patches] Re: [PATCH v3 1/7] memtx: introduce universal iterator_pool Message-ID: <20190225171444.ghua67nyzp3d4oys@esperanza> References: <236d59ddf2ed9bb9c9e112763ca2dbd27424482a.1550849496.git.kshcherbatov@tarantool.org> <20190222183725.GD1691@chai> <03d25801-f541-33ab-0cc2-d8f50a24e390@tarantool.org> <20190225161412.nezlk5fmgqogltdf@esperanza> <470f21b3-c002-5baf-b6be-5bc06841aeaf@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <470f21b3-c002-5baf-b6be-5bc06841aeaf@tarantool.org> To: Kirill Shcherbatov Cc: tarantool-patches@freelists.org, Konstantin Osipov List-ID: On Mon, Feb 25, 2019 at 07:39:19PM +0300, Kirill Shcherbatov wrote: > Memtx uses separate mempools for iterators of different types. > Due to the fact that there will be more iterators of different > sizes in a series of upcoming changes, let's always allocate the > iterator of the largest size. > No changes have been made to the rtree iterators pool because the > size of these structures is significantly larger. > > Needed for #3961 > --- > src/box/memtx_bitset.c | 15 +++++++-------- > src/box/memtx_engine.c | 9 +++------ > src/box/memtx_engine.h | 20 ++++++++++++++------ > src/box/memtx_hash.c | 15 +++++++-------- > src/box/memtx_tree.c | 13 ++++++------- > 5 files changed, 37 insertions(+), 35 deletions(-) Pushed to 2.1.