[tarantool-patches] Re: [PATCH v6 5/8] box: introduce has_json_paths flag in templates

Konstantin Osipov kostja at tarantool.org
Thu Dec 27 14:57:54 MSK 2018


* Konstantin Osipov <kostja at tarantool.org> [18/12/27 14:54]:
> * Konstantin Osipov <kostja at tarantool.org> [18/12/27 14:51]:
> > * Kirill Shcherbatov <kshcherbatov at tarantool.org> [18/12/17 14:27]:
> > > Introduced has_json_path flag for compare, hash and extract
> > > functions(that are really hot) to make possible do not look to
> > > path field for flat indexes without any JSON paths.
> > 
> > Shouldn't it be a template parameter, rather than a runtime one?
> 
> Sorry, obvious question, noticed it is already.

Which begs another question, shouldn't tuple_init_field_map be a
template function as well? I think time has come with json paths,
it's a very hot path.

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov



More information about the Tarantool-patches mailing list