Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladimir Davydov <vdavydov.dev@gmail.com>
To: kostja@tarantool.org
Cc: tarantool-patches@freelists.org
Subject: Re: [PATCH 1/2] vinyl: refactor vy_mem_iterator_seek
Date: Thu, 28 Feb 2019 14:09:14 +0300	[thread overview]
Message-ID: <20190228110914.vnjhl2ojhlipqthl@esperanza> (raw)
In-Reply-To: <3295f9b656c0dcb116de25dea7c87b67b647ca37.1551302815.git.vdavydov.dev@gmail.com>

On Thu, Feb 28, 2019 at 12:37:19AM +0300, Vladimir Davydov wrote:
>  - Don't pass iterator_type to vy_mem_iterator_seek and functions called
>    by it. Instead pass only a key and jump to the first statement
>    following the key according to the iterator search criteria. Turns
>    out this is enough for memory iterator implementation.
>  - Fold EQ check in vy_mem_iterator_seek to avoid code duplication.
>  - Drop vy_mem_iterator_start and use vy_mem_iterator_seek directly.
> ---
> https://github.com/tarantool/tarantool/commits/dv/vy-optimize-next-key

Pushed to 2.1. Will backport to 1.10 once stability test passes.

      parent reply	other threads:[~2019-02-28 11:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-27 21:37 Vladimir Davydov
2019-02-27 21:37 ` [PATCH 2/2] vinyl: optimize mem iterator for frequently updated keys Vladimir Davydov
2019-02-28 11:09   ` Vladimir Davydov
2019-02-28 16:02     ` Vladimir Davydov
2019-02-28 11:09 ` Vladimir Davydov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190228110914.vnjhl2ojhlipqthl@esperanza \
    --to=vdavydov.dev@gmail.com \
    --cc=kostja@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [PATCH 1/2] vinyl: refactor vy_mem_iterator_seek' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox