Tarantool development patches archive
 help / color / mirror / Atom feed
From: Konstantin Osipov <kostja@tarantool.org>
To: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Cc: tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH 1/1] buffer: port static allocator to Lua
Date: Sat, 18 May 2019 22:12:24 +0300	[thread overview]
Message-ID: <20190518191224.GF9448@atlas> (raw)
In-Reply-To: <7be31fc792dac8cfee0adc221a8a22ffdf14a677.1557927101.git.v.shpilevoy@tarantool.org>

* Vladislav Shpilevoy <v.shpilevoy@tarantool.org> [19/05/15 16:34]:

1) scalar looks clearly as a separate patch. while I like the idea
   I don't appreciate the urgency and a huge patch.

2) The static alloc patch is OK to push

3) Since you care about performance so much, I don't understand
   why you do concat (..) in Lua static alloc. Did you check it's
   a compile-time, not a run-time concat? 
> +    if ffi.C.EVP_CipherUpdate(self.ctx, wpos, scalar.ai, input, input:len()) ~= 1 then

I don't understand, if you need a scalar and an array of scalars,
and you have scalar and scalar_array variables, why would you ever
use an array in scalar? Wouldn't it be better to have two unions
instead of one for the sake of clarity?


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32

  parent reply	other threads:[~2019-05-18 19:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-15 13:33 [tarantool-patches] " Vladislav Shpilevoy
2019-05-18 18:41 ` [tarantool-patches] " Vladislav Shpilevoy
2019-05-18 19:12 ` Konstantin Osipov [this message]
2019-05-18 22:15   ` Vladislav Shpilevoy

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=20190518191224.GF9448@atlas \
    --to=kostja@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='[tarantool-patches] Re: [PATCH 1/1] buffer: port static allocator to Lua' \
    /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