tarantool/tarantool

Merge all numeric comparators for qsort and put them in one place

Offen

#3.598 geöffnet am 01.08.2018

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Lua (406 Forks)batch import
featuregood first issuerefactoring

Repository-Metriken

Stars
 (3.633 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 13T 2h) (82 gemergte PRs in 30 T)

Beschreibung

Looks like in Tarantool source we have plenty of various cmp functions for qsort: uint32_compare, cmp_i64, size_compator, nums_comparator, int64_cmp etc. The suggestion is to merge them into trivia/util.h as cmp_uint32, cmp_int64, cmp_size.

Contributor Guide