From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 22 May 2018 16:43:15 +0300 From: Konstantin Osipov Subject: Re: [PATCH 1/8] memtx: init index extent allocator in engine constructor Message-ID: <20180522134315.GA11201@atlas> References: <740aef7d85f42c48c9d07b704d04ad8f8b7320a9.1526987033.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <740aef7d85f42c48c9d07b704d04ad8f8b7320a9.1526987033.git.vdavydov.dev@gmail.com> To: Vladimir Davydov Cc: tarantool-patches@freelists.org List-ID: * Vladimir Davydov [18/05/22 15:10]: > Postponing it until a memtx index is created for the first time saves us > no memory or cpu, it only makes the code more difficult to follow. > --- > src/box/memtx_bitset.c | 2 -- > src/box/memtx_engine.c | 34 +++++++--------------------------- > src/box/memtx_engine.h | 9 --------- > src/box/memtx_hash.c | 2 -- > src/box/memtx_rtree.c | 2 -- > src/box/memtx_tree.c | 2 -- OK to push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov