From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: Kirill Shcherbatov <kshcherbatov@tarantool.org>,
tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH v1 2/2] sql: remove OP_LoadPtr
Date: Tue, 10 Jul 2018 17:59:14 +0300 [thread overview]
Message-ID: <97581354-b0b2-44d3-fe16-4c2649271b42@tarantool.org> (raw)
In-Reply-To: <837b569e130ba06fdf2e6c8cd5554adcb4a66b1a.1531230100.git.kshcherbatov@tarantool.org>
Thanks for finishing the patch! I have force pushed more deletions
on the branch.
On 10/07/2018 16:45, Kirill Shcherbatov wrote:
> From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
>
> This opcode was used when Vdbe had to store key_def in P4 for
> OP_OpenRead/Write, so P4 was occupied and OP_LoadPtr was used to
> store space pointer in another opcode. But now P4 is free for
> OpenRead/Write and space pointer can be stored here.
>
> Alongside, some useless key_def duplications are removed.
> ---
> src/box/sql/analyze.c | 8 ++------
> src/box/sql/build.c | 20 ++++++--------------
> src/box/sql/delete.c | 16 ++--------------
> src/box/sql/insert.c | 18 ++++--------------
> src/box/sql/pragma.c | 15 +++++++++++----
> src/box/sql/vdbe.c | 41 ++++++-----------------------------------
> 6 files changed, 31 insertions(+), 87 deletions(-)
>
prev parent reply other threads:[~2018-07-10 14:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-09 12:42 [tarantool-patches] [PATCH v1 1/1] sql: refactor vdbe_emit_open_cursor calls Kirill Shcherbatov
2018-07-10 11:48 ` [tarantool-patches] " Vladislav Shpilevoy
2018-07-10 13:44 ` Kirill Shcherbatov
2018-07-10 14:59 ` Vladislav Shpilevoy
2018-07-10 15:45 ` Kirill Shcherbatov
2018-07-10 15:56 ` Vladislav Shpilevoy
2018-07-10 16:37 ` Kirill Shcherbatov
2018-07-10 16:52 ` Vladislav Shpilevoy
2018-07-10 13:45 ` [tarantool-patches] [PATCH v1 2/2] sql: remove OP_LoadPtr Kirill Shcherbatov
2018-07-10 14:59 ` Vladislav Shpilevoy [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=97581354-b0b2-44d3-fe16-4c2649271b42@tarantool.org \
--to=v.shpilevoy@tarantool.org \
--cc=kshcherbatov@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='[tarantool-patches] Re: [PATCH v1 2/2] sql: remove OP_LoadPtr' \
/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