[PATCH v3.1 2/5] box: introduce tuple_field_by_part routine

Vladimir Davydov vdavydov.dev at gmail.com
Fri Sep 21 12:33:14 MSK 2018

On Thu, Sep 20, 2018 at 10:46:50AM +0300, Kirill Shcherbatov wrote:
> +const char *
> +tuple_field_by_part_raw(const struct tuple_format *format, const char *data,
> +			const uint32_t *field_map, struct key_part *part)
> +{
> +	return tuple_field_raw(format, data, field_map, part->fieldno);
> +}

This function must be defined as inline for now so as not to introduce
any slowdown to hot paths. I moved it to tuple_format.h and pushed the
patch to 1.10. You'll have to move it back to tuple_format.c in the main
patch of the series, which makes it more than just a wrapper.

More information about the Tarantool-patches mailing list