[PATCH v3 3/7] lua: optimize creation of a tuple from a tuple
Alexander Turenko
alexander.turenko at tarantool.org
Tue Apr 30 18:07:57 MSK 2019
On Tue, Apr 30, 2019 at 03:50:52PM +0300, Vladimir Davydov wrote:
> On Wed, Apr 10, 2019 at 06:21:21PM +0300, Alexander Turenko wrote:
> > Don't parse tuple data, just copy it.
>
> I don't understand: luamp_encode_tuple doesn't parse or decode a tuple.
> It simply copies it to the stream. This patch simply eliminates an extra
> memcpy, right?
>
> Is this small optimization worth complicating the code?
I did thought that it parses a tuple. Now I see that it does not.
Dropped from the patchset.
WBR, Alexander Turenko.
More information about the Tarantool-patches
mailing list