[PATCH v3 3/7] lua: optimize creation of a tuple from a tuple

Vladimir Davydov vdavydov.dev at gmail.com
Tue Apr 30 15:50:52 MSK 2019


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?



More information about the Tarantool-patches mailing list