[tarantool-patches] [PATCH v5 2/4] memtx: introduce tuple compare hint

Konstantin Osipov kostja at tarantool.org
Thu Mar 7 13:42:21 MSK 2019


* Kirill Shcherbatov <kshcherbatov at tarantool.org> [19/03/07 12:46]:
> Implement functions for retrieving tuple hints for a particular
> key_def. Hint is an integer that can be used for tuple comparison
> optimization: if a hint of one tuple is less than a hint of another
> then the first tuple is definitely less than the second; only if
> hints are equal tuple_compare must be called for getting comparison
> result.

I have a nit on the name: I think the previous name was better.
cmp_hint would be more clear too than cmp_aux_t.

-- 
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